close
Warning:
Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.
- Timestamp:
-
2020-07-23T14:06:24-07:00 (4 years ago)
- Author:
-
trac
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v4
|
v5
|
|
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 Consortium |
318 | | * http://www.w3.org/MarkUp/ -- HTML Markup Home Page |
| 317 | * https://www.w3.org/ -- World Wide Web Consortium |
| 318 | * https://www.w3.org/MarkUp/ -- HTML Markup Home Page |
319 | 319 | |
320 | 320 | ---- |