Using Textile Version 1.20
Rendering of quotes in textile4j doesn't match what I'm
used to seeing from other textile generators. Here are
two specific examples:
Case I:
There is a test in the JUnit test in the textile4j (current)
tree on the input string:
Welcome to Mark's Test
The expected result in that test case renders the
apostrophe as ‘ which appears as a downward-
slanted quote (a.k.a. backquote (`)). This is incorrect.
Testing the same string using the online example
generator at
http://www.textism.com/tools/textile/index.html yields
a result with the apostrophe represented as ’
(a.k.a. apostrophe (')) which matches normal
typographic conventions.
Case II:
As another example, consider the input string:
Anil says "Welcome to Mark's Test"
Textism's generator produces (correctly)
<p>Anil says “Welcome to Mark’s
Test” </p>
while Textile4j (as of 1.20) produces
<p>Anil says ”Welcome to Mark‘s
Test</p>
The last quote is completely lost, and the slanting on
both of the other two quotes is incorrect.
Logged In: YES
user_id=1205754
OK. I noticed that the loss of the last quote can be worked
around by adding a trailing space. The slanting and quote-
matching however is still wrong.