I found the answer by playing with it a bit. From what I've seen the answer suggested on the bug tracker is not exactly correct. The replies there by flangefrog are mine.
Type something like <div class=
now your cursor should be in between two quote or double quote characters. You can now type the other type of quote character and it will change your preference.