Fossil

Check-in [6436ecf911]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Expanded the set of "safe HTML" elements to include several harmless ones added to HTML5, which are useful in MD/wiki docs.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 6436ecf91132f81244cc6cd26896c55c130b138e1fa2f83e8c20dd6ec7662acc
User & Date: wyoung 2026-06-21 14:53:38.727
References
2026-07-01
01:00
The stricter attribute checking applied in [6436ecf911] cause the img srcset attribute to not get the repo-root (%R) rewriting that src gets. This breaks existing docs that used this for resolution-dependent image rendering in MD and such. For testing the fix, this adds the --top flag to the test-safe-html command, since a regular "fossil ui" doesn't show the problem; it either has to be hosted underneath a URL by an RP server or via this test option to see the effect of %R rewriting. (check-in: fbffbe1152 ... user: wyoung tags: trunk)
Context
2026-06-21
17:10
Documented in /md_rules that HTML comments are disallowed under the "safe HTML" rules even though they pass the MD processor. (check-in: ea92c2bf9f ... user: wyoung tags: trunk)
14:53
Expanded the set of "safe HTML" elements to include several harmless ones added to HTML5, which are useful in MD/wiki docs. (check-in: 6436ecf911 ... user: wyoung tags: trunk)
14:29
Fixed a semantic constant misuse in the wiki renderer discovered while doing the prior commit. No functional change, but it straightens out a mask-vs-attribute ID cross-up. (closed check-in: f1c08fdff1 ... user: wyoung tags: safe-html-extensions)
07:49
Replace some name=X HTML attributes with id=X so that #X links work. (check-in: 904e245715 ... user: stephan tags: trunk)
Changes
Unified Diff Side-by-Side Diff Patch
Changes to src/markdown.md.
Changes to src/wiki.wiki.
Changes to src/wikiformat.c.