Textile v2b input including link(s) with title is improperly parsed.
"link text(a title)":url
should produce:
<a href="url" title="a title">link text</a>
but results in something like:
<a href="url" <1>>link text</a>
The bracketed number inside the "a" tag is an integer 1, 2, ...
Comments
Comment #1
jhriggs commentedThis problem likely affected more items than just links with titles. It likely affected any of the input types that use the preg_replace_callback() function in Textile2.php, including span, image, and others.
In wrapping the Textile code inside a class (pseudo-namespace), the callback function used in preg_replace_callback() was changed from
"<i>function</i>"toarray($this, "<i>function</i>"). This improperly handles changes to member variables. The callback was changed toarray(&$this, "<i>function</i>")to fix the problem.This is fixed in CVS, v1.0.2/2003110900.
Comment #2
(not verified) commentedAutomatically closed due to inactivity (marked fixed for 14 days).