Bugs: Browse | Submit New | Admin

[#23929] Words with single quotes fail to parse on Ruby 1.9.0

Date:
2009-02-14 23:20
Priority:
3
Submitted By:
Aggelos Orfanakos (agorf)
Assigned To:
Andrea Censi (andrea)
Category:
Markdown Parser
State:
Open
Summary:
Words with single quotes fail to parse on Ruby 1.9.0

Detailed description
#<REXML::ParseException: Malformed comment (REXML::ParseException) is the exception thrown.

The test string is: It's a test!

Removing the single quote results in Maruku parsing it correctly.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2009-02-25 12:29
Sender: Aggelos Orfanakos

Thanks for your comment, but I've since switched to using
RDiscount for my Markdown needs. Hopefully this will be
useful to anyone else facing the same problem as I did. :-)
Date: 2009-02-25 09:21
Sender: Matthias Hennemeyer

The right  files are:
lib/maruku/output/to_latex_entities.rb:220
and 
lib/maruku/output/to_latex_entities.rb:281

Sorry
Matthias
Date: 2009-02-25 09:17
Sender: Matthias Hennemeyer

There are malformed xml comments  in:
maruku-0.5.9 gem:
lib/maruku/output/s5/to_latex_entities.rb:220
and 
lib/maruku/output/s5/to_latex_entities.rb:281

There are two comments on one line
and the first comment is not closed.

Closing each of the first comments solves the problem.
Cheers 
Matthias

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item