Fjan
Not a member
Fjan's latest activity
Wednesday, November 03 2010
-
Fjan commented at 8:51 PMJust a quick follow up to myself, I looked at the code and all that is needed to make "<%== ..." behave as "<%= raw ..." is this snippet in an initializer:
mod... -
Fjan commented at 7:08 PMI just wanted to point out that the it's not just URLs and not just ampersands: any text gets HTML escaped. This is going to trip people up who accidentally use...
-
Fjan commented at 6:53 PMEmitting HTML character entities like hellip and nbsp is a bad idea since you will no longer be able to use the rails helpers to generate plain text messages. I...
Monday, September 13 2010
-
Fjan commented at 9:06 AMI just tried it on Rails 3 and this appears to be no longer a problem (it sets a "charset:UTF-8" on attachments by default now). Can be marked fixed as far as I...
Tuesday, May 25 2010
-
Fjan commented at 10:56 PMgreat :-)
Well, I fixed everything by now. I actually amended the test helper to find all of them and it found a few more I hadn't caught before. It's a simple ...
-
Fjan commented at 10:27 PMYes, it is consistent, however it is also a bug since it is consistently different from Rails versions < 2.3.8 and therefore it breaks a lot of apps which is no...
-
Fjan created the ticket at 8:46 PMIf the first part of a string is a rails helper the rest of the string gets HTML escaped:
h('test')+'<br/>' # => wrong: test<br> ''+h('test')+'<br/>' # =...
Monday, May 10 2010
-
Fjan commented at 3:10 PMI guess the reason the SGML spec absorbs the first newline is so that handwritten markup can look prettier; a text area created by rails looks messy in the sour...
Wednesday, April 21 2010
-
Fjan commented at 2:20 PMYour observation is correct, but I don't follow your conclusion. If the correct behaviour is to ignore starting line breaks then how would adding an (ignored) l...
Tuesday, February 16 2010
-
Fjan created the ticket at 12:49 PMThere is a little known quirk in HTML that causes a textarea tag that starts with a newline to ignore the first newline:
textarea_tag(:test1,"Foobar") textarea...