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:
Isabelle Hurbain-Palatin 2023-09-14 17:46:38 +02:00 committed by Subramanya Sastry
parent fc431bcd8d
commit e4e8f8e076

View file

@ -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,
]
]
]