Fossil SCM

incorrect quote handling for HTML tag elements

Closed

e4da774beb079ad… · opened 16 years, 4 months ago

Type
Code_Defect
Priority
Immediate
Severity
Minor
Resolution
Overcome_By_Events
Subsystem
Created
Nov. 30, 2009 1:36 p.m.

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.

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button