New parserTest: check interaction of italics and English possessives.
authorC. Scott Ananian <cscott@cscott.net>
Fri, 5 Apr 2013 15:26:29 +0000 (11:26 -0400)
committerC. Scott Ananian <cscott@cscott.net>
Fri, 5 Apr 2013 16:46:42 +0000 (12:46 -0400)
This documents a current bug in the Parsoid parser.

Change-Id: I242324237640dd21fb24c50fa164a45091e388b8

tests/parser/parserTests.txt

index 55605d0..1d4102c 100644 (file)
@@ -363,6 +363,16 @@ Italics and bold
 
 !! end
 
+# this example taken from the simple/Moon article
+!! test
+Italics and possessives
+!! input
+obtained by ''[[Lunar Prospector]]'''s gamma-ray spectrometer
+!! result
+<p>obtained by <i><a href="/index.php?title=Lunar_Prospector&amp;action=edit&amp;redlink=1" class="new" title="Lunar Prospector (page does not exist)">Lunar Prospector</a>'</i>s gamma-ray spectrometer
+</p>
+!! end
+
 ###
 ### 2-quote opening sequence tests
 ###