<textarea> has line-breaks removed? #147
Comments
Will be fixed with the next release of kramdown. |
On Jul 31, 2014 6:07 PM, "Thomas Leitner" notifications@github.com wrote:
Any workaround that you can recommend, if I cannot wait for the next Thanks |
You need to edit the source code. Remove the word "textarea" from the line https://github.com/gettalong/kramdown/blob/master/lib/kramdown/parser/html.rb#L55 |
On Thu, Jul 31, 2014 at 11:29 PM, Thomas Leitner notifications@github.com
i tried, but this doesnt seem to help: the problem is still there. here is how i did:
/Library/Ruby/Gems/2.0.0/gems/kramdown-1.4.0/lib/kramdown/parser/html.rb
the line-breaks inside are still eaten. did i do that wrongly? thanks. |
That should do the trick. Please try the standalone kramdown binary to check if it works correctly. If it does, it is a problem with Jekyll. |
On Fri, Aug 1, 2014 at 2:24 AM, Thomas Leitner notifications@github.com
how to try the standalone kramdown binary to confirm it actually fixes this thanks. |
See To test a |
thanks! i can confirm that this fixes the issue with Kramdown, but Jekyll any suggestion on where to look in Jekyll source to fix this problem? thanks. |
I haven't used Jekyll so I'm the wrong person. Please have a look at the Jekyll website to find the right place for this question. |
I am using Jekyll 2.2.0. In my markdown file, I have a simple HTML code
textarea
like this:You can see that there are few line-breaks between hello and world. The problem is that
jekyll build
then removes the line-breaks between them.How can I tell Kramdown not to remove line-breaks like this?
Thanks.
The text was updated successfully, but these errors were encountered: