mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Poem
synced 2024-09-23 10:19:53 +00:00
Move parser tests file to normal location and add a styled one
Bug: T188527 Change-Id: Ib5023c7656e7f27ba58a99da3c2659e18674ac5a
This commit is contained in:
parent
9ef98cba2d
commit
2ad483d747
|
@ -22,8 +22,5 @@
|
|||
"AutoloadClasses": {
|
||||
"Poem": "includes/Poem.php"
|
||||
},
|
||||
"ParserTestFiles": [
|
||||
"poemParserTests.txt"
|
||||
],
|
||||
"manifest_version": 1
|
||||
}
|
||||
|
|
|
@ -140,3 +140,23 @@ test<br />
|
|||
</div>
|
||||
|
||||
!! end
|
||||
|
||||
!! test
|
||||
Basic <poem> usage with style
|
||||
!! input
|
||||
<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;">
|
||||
A stately pleasure-dome decree:
|
||||
Where Alph, the sacred river, ran
|
||||
Through caverns measureless to man
|
||||
Down to a sunless sea.
|
||||
</poem>
|
||||
!! result
|
||||
<div style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;" class="poem">
|
||||
<p>A stately pleasure-dome decree:<br />
|
||||
Where Alph, the sacred river, ran<br />
|
||||
Through caverns measureless to man<br />
|
||||
Down to a sunless sea.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
!! end
|
Loading…
Reference in a new issue