mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-27 15:50:37 +00:00
Set hasWikitextInput flag to false
The content of the SyntaxHighlight extension is not wikitext and annotations should be stripped from it before rendering. Bug: T341009 Depends-On: I4e9a7a8bec3cb9532ef8a729fd2c6c4acca5d8a0 Change-Id: Ibada54d517830b1112b59513b090dc4bbdc7c917
This commit is contained in:
parent
fc431bcd8d
commit
e4e8f8e076
|
@ -20,7 +20,8 @@ class ParsoidExt implements ExtensionModule {
|
|||
// Strip nowiki markers from #tag parser-function arguments.
|
||||
// This will be used to resolve T299103.
|
||||
// This is primarily a b/c flag in Parsoid.
|
||||
'stripNowiki' => true
|
||||
'stripNowiki' => true,
|
||||
'hasWikitextInput' => false,
|
||||
]
|
||||
],
|
||||
[
|
||||
|
@ -30,7 +31,8 @@ class ParsoidExt implements ExtensionModule {
|
|||
// Strip nowiki markers from #tag parser-function arguments.
|
||||
// This will be used to resolve T299103.
|
||||
// This is primarily a b/c flag in Parsoid.
|
||||
'stripNowiki' => true
|
||||
'stripNowiki' => true,
|
||||
'hasWikitextInput' => false,
|
||||
]
|
||||
]
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue