severak / marknote

Automatically exported from code.google.com/p/marknote
0 stars 0 forks source link

Problem with mixed content #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Thanks for creating Marknode, it seems really useful and easy to use. I came 
across a problem, though.

It seems Marknote has trouble parsing mixed content (= mixture of text nodes 
and element nodes). Example:

var str="<gloss>This is <em>a</em> test.</gloss>";
var parser=new marknote.Parser();
var doc=parser.parse(str);
console.log(doc.toString());

Outputs this:

<gloss>This is <em>a</em></gloss>

Should output this:

<gloss>This is <em>a</em> test.</gloss>

This woud be nice to fix as it is the only thing stopping me from using 
Marknode in a project I'm working on! :-)

Original issue reported on code.google.com by valselob@gmail.com on 9 Feb 2013 at 6:37

GoogleCodeExporter commented 9 years ago
I don't know why I keep misspelling Marknote as "Marknode", sorry about that.

Original comment by valselob@gmail.com on 10 Feb 2013 at 11:17

GoogleCodeExporter commented 9 years ago
No feedback onto this one?

Original comment by tcolive...@gmail.com on 21 Mar 2013 at 7:45

GoogleCodeExporter commented 9 years ago
This has been logged and will be fixed in an upcoming release. 

Original comment by rody.cunningham@gmail.com on 21 Apr 2013 at 11:47