Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting in code blocks not rendered #76

Open
dometto opened this issue Jan 4, 2015 · 2 comments
Open

Formatting in code blocks not rendered #76

dometto opened this issue Jan 4, 2015 · 2 comments

Comments

@dometto
Copy link
Contributor

dometto commented Jan 4, 2015

Formatting in code blocks is not working as expected:

1.9.3-p362 :002 > str = " code block ''this should be italic'' '''this should be bold'''"
 => " code block ''this should be italic'' '''this should be bold'''" 
1.9.3-p362 :003 > WikiCloth::Parser.new({:data => str}).to_html
 => "\n\n<p><pre> code block &#39;&#39;this should be italic&#39;&#39; &#39;&#39;&#39;this should be bold&#39;&#39;&#39;\n</pre>\n</p>" 
@dometto
Copy link
Contributor Author

dometto commented Jan 4, 2015

Ah, it says in the Readme that <code> is supposed to disable wiki markup. That isn't what MediaWiki itself does, though. Do you consider this a bug?

@nricciar
Copy link
Owner

nricciar commented Jan 6, 2015

Hmm yes I would definitly consider that a bug, The goal after all is to be as compatible with the mediawiki parser as possible. Will look into it, but not sure how easy it will be to resolve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants