forked from rDrama/rDrama
master
parent
b6472012a6
commit
08ae593de1
|
@ -94,7 +94,7 @@ function markdown(t) {
|
|||
}
|
||||
}
|
||||
|
||||
input = input.replace(compiled_regex, '$1\n\n![]($2)\n\n')
|
||||
input = input.replace(compiled_regex, '$1![]($2)')
|
||||
|
||||
input = marked(input)
|
||||
|
||||
|
|
|
@ -354,7 +354,7 @@ def sanitize(sanitized, golden=True, limit_pings=0, showmore=True, count_marseys
|
|||
sanitized = linefeeds_regex.sub(r'\1\n\n\2', sanitized)
|
||||
|
||||
sanitized = greentext_regex.sub(r'\1<g>\>\2</g>', sanitized)
|
||||
sanitized = image_regex.sub(r'\1\n\n![](\2)\n\n', sanitized)
|
||||
sanitized = image_regex.sub(r'\1![](\2)', sanitized)
|
||||
sanitized = image_check_regex.sub(r'\1', sanitized)
|
||||
sanitized = link_fix_regex.sub(r'\1https://\2', sanitized)
|
||||
|
||||
|
|
Loading…
Reference in New Issue