Ticket UUID: | e4da774beb079adbb2e2966731eb98a41f0283e8 | ||
Title: | incorrect quote handling for HTML tag elements | ||
Status: | Open | Type: | Code_Defect |
Severity: | Minor | Priority: | |
Subsystem: | Resolution: | ||
Last Modified: | 2009-11-30 13:36:33 | ||
Version Found In: | 732d7c406e | ||
Description & Comments: | |||
If a wiki page contains HTML which uses attributes, e.g. a (FONT COLOR='red') tag, and the user (out of long-time pedantic habit) _properly_ quotes the attributes (as in the previous example), then fossil will output (FONT COLOR="'red'") (notice the extra quotes) to the browser, which results in browser-dependent behaviour (and is malformed HTML in any case).
To reproduce: add a FONT tag with a COLOR='red' (with the quotes) tag to a wiki entry, and then view the wiki page in a browser. My assumption is that this affects all quoted HTML attributes, but i have so far only noticed it with the FONT tag. |