TextileParser issues

37 views
Skip to first unread message

Sergey Trofimov

unread,
May 29, 2012, 11:19:47 AM5/29/12
to lif...@googlegroups.com
Hello everyone.

We use TextileParser to format user messages in game chat.
Today I've realized, that call
TextileParser.toHtml(":-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*")
runs very long time (I don't know how long, maybe infinitely)

Also I see that formatting of string like ":-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*" is
<p>:-*:<del>*:</del>*:<del>*:</del>*:<del>*:</del>*:<del>*:</del>*:<del>*:</del>*:<del>*:</del>*:<del>*:</del>*:<del>*:</del>*:<del>*:</del>*:<del>*:</del>*</p>
what differs from formatting via http://www.textism.com/tools/textile/index.php where result is just
<p>:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*:-*</p>

Can this behavior be interpreted as a bug?

--
Sergey



David Pollak

unread,
May 29, 2012, 12:34:12 PM5/29/12
to lif...@googlegroups.com
I don't think it's a bug.  You're welcome to open a ticket, but I doubt it will get addressed any time soon as I'm the only one who has done work on the Textile parser in the last few years and I'm not going to prioritize it up.  Sorry.



--
Sergey



--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code



--
Visi.Pro, Cloud Computing for the Rest of Us http://visi.pro
Lift, the simply functional web framework http://liftweb.net


Sergey Trofimov

unread,
May 30, 2012, 1:58:40 AM5/30/12
to lif...@googlegroups.com
Hello David.

At the moment I can live without Textile, which is even overhead in my case.

But tickets are created:

 - https://github.com/lift/modules/issues/5
 - https://github.com/lift/modules/issues/6


--
Sergey Trofimov
Reply all
Reply to author
Forward
0 new messages