code/__HELPERS/text.dm
/proc/stripped_multiline_input_or_reflect | stripped_multiline_input but reflects to the user instead if it's too big and returns null. |
---|---|
/proc/scramble_message_replace_chars | Slightly expensive proc to scramble a message using equal probabilities of character replacement from a list. DOES NOT SUPPORT HTML! |
/proc/sanitize_css_class_name | Removes all non-alphanumerics from the text, keep in mind this can lead to id conflicts |