horta-hell icon indicating copy to clipboard operation
horta-hell copied to clipboard

HTML entities in Twitter messages

Open ForNeVeR opened this issue 9 years ago • 3 comments
trafficstars

Consider Twitter user that have written the following in tweet:

λ> nil := (\f . (\x . x))
λ> pair := (\x . (\y . (\z . ((z x) y))))
λ> ((pair 97) ((pair 98) ((pair 99) nil)))
string: abc

For some reason Horta echoed this to MUC in the following form:

<horta hell> @tsoding твитит: λ&gt; nil := (\f . (\x . x))
λ&gt; pair := (\x . (\y . (\z . ((z x) y))))
λ&gt; ((pair 97) ((pair 98) ((pair 99) nil)))
string: abc

I don't think we should replace these > with &gt;.

ForNeVeR avatar Aug 17 '16 07:08 ForNeVeR

Morganey as a testing tool for Horta!

rexim avatar Aug 17 '16 07:08 rexim

Parts of our infrastructure are testing each other. We need to add more to the mix to evolve the perfect machine!

ForNeVeR avatar Aug 17 '16 07:08 ForNeVeR

Right. Twitter's probably thinks it's cute to pre-escape html in the tweets. Should be straightforward enough.

hagane avatar Aug 19 '16 05:08 hagane