
Problem with em tags in some constellation
Reported by Sascha | June 29th, 2012 @ 07:40 AM
The best description is to paste a text where the problem appears:
...it’s almost impossible to miss (artist-name)DJ Pete. Being there right from the start, Pete quickly turned from a consumer into a DJ, producer, ...in-between sounds. As part of the duo Scion, he started to release on Basic Channel’s sub label Chain Reaction in 1995 ((album-title)Emerge)....
The results shows that the em-tag wraps much more then it should. Hope someone can help here.
Comments and changes to this ticket
-
Jason Garber June 29th, 2012 @ 08:46 AM
Does RedCloth-parslet behave any better?
Sent from my iPhone
-
Sascha June 29th, 2012 @ 09:28 AM
Hey Jason,
didn't know RedCloth-parslett. I testet it with my Rails-App, and it seems to parse correct. If i could i would use
RedClothParslet instead of RedCloth but there are still issues, or?RedClothParslet.new("jdwej fijerg ergjier jgergjri") => fine
RedClothParslet.new("jdwej fijerg ergjier jgergjri ") => Parslet::ParseFailed: Expected at least 1 of BLOCK_ELEMENT at line 1 char 1.Is there a chance to get a fix in RedCloth, or should i wayt for a working RedClothParslet Version?
Thanks alot
Sascha -
Sascha June 29th, 2012 @ 09:38 AM
Sorry i forgot. Also empty strings doesn't work.
RedClothParslet.new("") => Parslet::ParseFailed: Expected at least 1 of BLOCK_ELEMENT at line 1 char 1
-
Sascha June 29th, 2012 @ 11:10 AM
Again sorry. I just found another problem:
RedClothParslet.new("Some other test with \r\n\r\n") also results in Parslet::ParseFailed: Expected at least 1 of BLOCK_ELEMENT at line 1 char 1I hope you can work with this information.
-
Jason Garber June 29th, 2012 @ 12:11 PM
Great! So as you can see, RedCloth-parslet, which will become the next
major version of RedCloth, has a ways to go yet. The main thing I wanted to
know was if your problem was going to go away once I got it finished.
Thanks for testing that for me!
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
RedCloth is a Ruby library for converting Textile into HTML