« Issue/4821 » : différence entre les versions
De Semantic MediaWiki - Sandbox
(chg) |
(form) |
||
Ligne 11 : | Ligne 11 : | ||
== Example 2 == | == Example 2 == | ||
Preventing <nowiki><nowiki></nowiki> tags by using the HTML entity for underscores (<nowiki>_</nowiki>). | Preventing <nowiki><nowiki></nowiki> tags by using the HTML entity for underscores (<code><nowiki>&#95;</nowiki></code>). | ||
; Annotation | ; Annotation | ||
<pre> | <pre> |
Version du 23 août 2020 à 18:00
Refs: https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/4821
Example 1
- Annotation
[[Has text::a new magic word __NOCACHE__]]
- Result
a new magic word <nowiki>__NOCACHE__</nowiki>
Example 2
Preventing <nowiki> tags by using the HTML entity for underscores (_
).
- Annotation
[[Has text::a new magic word __NOCACHE__]]
- Result
a new magic word __NOCACHE__
Browse
Setting
$smwgParserFeatures = $smwgParserFeatures | SMW_PARSER_UNSTRIP;