[dreamwidth/dw-free] a717ae: Escape data attributes in _html_option
Branch: refs/heads/master
Home: https://github.com/dreamwidth/dw-free
Commit: a717aeee16d6a6295957a9cdeef0abcbc7582967
https://github.com/dreamwidth/dw-free/commit/a717aeee16d6a6295957a9cdeef0abcbc7582967
Author: Nick Fagerlund <nick.fagerlund@gmail.com>
Date: 2020-06-06 (Sat, 06 Jun 2020)
Changed paths:
M cgi-bin/LJ/HTMLControls.pm
Log Message:
-----------
Escape data attributes in _html_option
Looks like this was just forgotten when the feature was added. Only got noticed
when we started setting data attributes in the userpic menu to wrangle the icon
preview in reply forms.
I'm using the same $ehtml argument that sets escaping for values and text, since
I can't conceive of a situation where we'd want the one escaped but not the
other.
Home: https://github.com/dreamwidth/dw-free
Commit: a717aeee16d6a6295957a9cdeef0abcbc7582967
https://github.com/dreamwidth/dw-free/commit/a717aeee16d6a6295957a9cdeef0abcbc7582967
Author: Nick Fagerlund <nick.fagerlund@gmail.com>
Date: 2020-06-06 (Sat, 06 Jun 2020)
Changed paths:
M cgi-bin/LJ/HTMLControls.pm
Log Message:
-----------
Escape data attributes in _html_option
Looks like this was just forgotten when the feature was added. Only got noticed
when we started setting data attributes in the userpic menu to wrangle the icon
preview in reply forms.
I'm using the same $ehtml argument that sets escaping for values and text, since
I can't conceive of a situation where we'd want the one escaped but not the
other.
