mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-30 20:13:08 +00:00
Tweaks Audible Emote Visual Feedback (#15166)
* Tweaks the Audible Emote Visual Feedback * More Accurate Description
This commit is contained in:
@@ -319,6 +319,18 @@
|
||||
break
|
||||
return copytext_char(t, 1, i) + uppertext(copytext_char(t, i, i + 1)) + copytext_char(t, i + 1)
|
||||
|
||||
//Returns a string with the first element of the string uncapitalized, ignoring html-tags
|
||||
/proc/uncapitalize(t as text)
|
||||
var/i = 1
|
||||
while(copytext_char(t, i, i + 1) == "<")
|
||||
i = findtext_char(t, ">", i + 1)
|
||||
if(i)
|
||||
i++
|
||||
else
|
||||
i = 2
|
||||
break
|
||||
return copytext_char(t, 1, i) + lowertext(copytext_char(t, i, i + 1)) + copytext_char(t, i + 1)
|
||||
|
||||
//This proc strips html properly, remove < > and all text between
|
||||
//for complete text sanitizing should be used sanitize()
|
||||
/proc/strip_html_properly(input)
|
||||
|
||||
Reference in New Issue
Block a user