Hello everyone, Ran into a problem with HAML post-processing of textareas.
The project to demonstrate a problem is at https://github.com/myuller/haml_test The use case is pretty obscure and might not be encountered often, but the problem had manifested in live project I happen to maintain, so I've decided to post here in hope it may be worth a look. Quick summary: What the code does is rendering some haml partial with lots of textareas into js response template. Rails helper method escape_javascript replaces "</textarea>" with "<\/textarea>" so haml internal method "fix_textareas!" performs a very ineffective and resourceful regexp match (which with large response size stalls the server for minutes). I hope I'm not wasting your time with this, Best Regards, Pavel Myuller. -- You received this message because you are subscribed to the Google Groups "Haml" group. To unsubscribe from this group and stop receiving emails from it, send an email to haml+unsubscr...@googlegroups.com. To post to this group, send email to haml@googlegroups.com. Visit this group at http://groups.google.com/group/haml?hl=en. For more options, visit https://groups.google.com/groups/opt_out.