mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-23 22:13:40 +00:00
Re-enable and fix tests for Parsoid CI
Bug: T214241 Depends-On: I022501851ea45cfd2554f9e914aa6f4fe2b07548 Change-Id: I34e32192047aaf268001b04bb936b3562686118b
This commit is contained in:
parent
2eb3bc3633
commit
3bc2ef11b5
|
@ -160,8 +160,6 @@ Text <source lang="javascript" enclose="none">var a;</source>.
|
|||
|
||||
!! test
|
||||
Enclose with nowiki
|
||||
!! options
|
||||
disabled
|
||||
parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true }
|
||||
!! wikitext
|
||||
{{#tag:syntaxhighlight|<nowiki>foo</nowiki>|lang="text"|inline=none}}
|
||||
|
@ -169,7 +167,7 @@ parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true }
|
|||
<p><code class="mw-highlight mw-highlight-lang-text mw-content-ltr" dir="ltr">foo</code>
|
||||
</p>
|
||||
!! html/parsoid
|
||||
<p><code class="mw-highlight mw-highlight-lang-text mw-content-ltr" dir="ltr" about="#mwt1" typeof="mw:Extension/syntaxhighlight mw:Transclusion" data-mw='{"parts":[{"template":{"target":{"wt":"#tag:syntaxhighlight","function":"tag"},"params":{"1":{"wt":"<nowiki>foo</nowiki>"},"lang":{"wt":"\"text\""},"inline":{"wt":"none"}},"i":0}}]}'>foo</code></p>
|
||||
<p><code class="mw-highlight mw-highlight-lang-text mw-content-ltr" dir="ltr" about="#mwt1" typeof="mw:Extension/syntaxhighlight mw:Transclusion" data-mw='{"name":"syntaxhighlight","attrs":{"lang":"text","inline":"none"},"body":{"extsrc":"foo"},"parts":[{"template":{"target":{"wt":"#tag:syntaxhighlight","function":"tag"},"params":{"1":{"wt":"<nowiki>foo</nowiki>"},"lang":{"wt":"\"text\""},"inline":{"wt":"none"}},"i":0}}]}'>foo</code></p>
|
||||
!! end
|
||||
|
||||
!! test
|
||||
|
|
Loading…
Reference in a new issue