Changes between Version 1 and Version 2 of WikiHtml
- Timestamp:
- May 10, 2020, 10:54:03 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiHtml
v1 v2 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 … … 315 315 == More Information 316 316 317 * http ://www.w3.org/ -- World Wide Web Consortium318 * http ://www.w3.org/MarkUp/ -- HTML Markup Home Page317 * https://www.w3.org/ -- World Wide Web Consortium 318 * https://www.w3.org/MarkUp/ -- HTML Markup Home Page 319 319 320 320 ----