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
BUG: Markdown strips down the spaces or indents inside the pre/code tag #41
Comments
Hi @manojhl - can you give me a test case? i.e. What you type in, what you expect, and what you actually get. |
@stephenharris sorry my mistake, the code was written inside a shorcode but markdownify don't consider this a code block so removed all indents inside it.... |
K I got it from the issue #38.. Thanks.. Closing it.. |
@stephenharris this is not a shortcode issue it works fine with the default wp editor, markdown don't consider any code block inside short code. so removed all indents inside it.
I use this short code to display code and preview in tab-nav. The indents(spaces) are given to css properties for proper alignment and I have checked the database indents are removed.. It works fine outside the shortcode!!! :D |
When I write code inside the shortcode tags wp-markdown strips out the spaces and even new lines in between them.
The text was updated successfully, but these errors were encountered: