Closed ghost closed 10 years ago
This is not related to the <ruby>
tag - it's a bug where HTML that doesn't have a newline before it causes a parsing error. This is a duplicate of #123 and is slated to be fixed for 0.7.1.
Actually, running this example myself, I see Maruku complain a lot, but the right output appears (minus the weird header):
<p>What follows uses ruby <ruby>
<rb>東</rb><rp>(</rp><rt>トウ</rt><rp>)</rp>
<rb>京</rb><rp>(</rp><rt>キョウ</rt><rp>)</rp>
</ruby>.</p>
I'll try to fix the warning, but nothing bad is happening to your output.
@bhollis: Thank you for the quick response. You are correct, it does indeed seem to produce the correct output (my bad, I jumped the gun there). Weirdly enough it still prevents GitHub from building the page. Whether or not this is a genuine crash on their side or if Jekyll or their build script simply halts if there is something on stderr I don't know.
I encountered this error when I just recently pushed a change to my GitHub user page. Possibly since they may have upgraded Jekyll since early December last year and thus moved to a new version of maruku. Currently I think this is a regression, since I have made no changes to my Markdown syntax since the last push to GitHub.
Example file
ruby.md
(Edit: I botched the syntax with = vs. #, but the example still works):Now, let us hand it to maruku.
The same file is accepted by for example kramdown.