savetheinternet/Tinyboard — pull request #121 by Macil (2013-07-08 18:29:10+00:00)
Title: Remove all RTL and LTR control codes in bidi_cleanup.

If the name and subject fields both start with RLO characters, then the subject would be after the name with the old bidi_cleanup. This change makes the bidi_cleanup function just remove all right-to-left and left-to-right related unicode control characters. This should also fix issue #120 as an anonymous function is no longer used.