Changes between Version 5 and Version 6 of WikiHtml
- Timestamp:
- 2020-04-27T12:30:54+02:00 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiHtml
v5 v6 3 3 Trac supports the display of HTML in any wiki context, by using the `#!html` [wiki:WikiProcessors WikiProcessor]. 4 4 5 However, this HTML has to be [http://en.wikipedia.org/wiki/Well-formed_element well-formed]. 5 However, this HTML has to be [https://en.wikipedia.org/wiki/Well-formed_element well-formed]. 6 6 In particular, you can't insert a start tag in an `#!html` block, resume normal wiki text and insert the corresponding end tag in a second `#!html` block. 7 7 … … 27 27 Note that Trac sanitizes your HTML code before displaying it. That means that potentially dangerous constructs, such as Javascript event handlers, will be removed from the output. 28 28 29 The filtering is done by [http://genshi.edgewall.org/ Genshi] and the output will be a well-formed fragment of HTML. This means that you cannot use two HTML blocks, one for opening a <div> and another for closing it, in order to wrap arbitrary wiki text. 29 The filtering is done by [https://genshi.edgewall.org/ Genshi] and the output will be a well-formed fragment of HTML. This means that you cannot use two HTML blocks, one for opening a <div> and another for closing it, in order to wrap arbitrary wiki text. 30 30 31 31 == How to use `#!div` and `#!span` == #HowtoUseDivSpan
