mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
* Basic Vore Implementation for #1 Adds vore sounds, bellies, vore procs, all types of vore except macro/micro as that is not implemented yet. Also adds a few type2type methods and a text method that we had before. * Ending linebreaks * More crlf * Globalize two lists * Removed interface type
10 lines
326 B
Plaintext
10 lines
326 B
Plaintext
//Readds quotes and apostrophes to HTML-encoded strings
|
|
/proc/readd_quotes(var/t)
|
|
var/list/repl_chars = list(""" = "\"","'" = "'")
|
|
for(var/char in repl_chars)
|
|
var/index = findtext(t, char)
|
|
while(index)
|
|
t = copytext(t, 1, index) + repl_chars[char] + copytext(t, index+5)
|
|
index = findtext(t, char)
|
|
return t
|