mirror of
https://gitlab.com/Oreolek/salet.git
synced 2024-07-04 07:45:03 +03:00
No need to wrap the replacer in span
now
This commit is contained in:
parent
b6696ff981
commit
53d9009fc6
|
@ -180,8 +180,7 @@ class SaletRoom
|
|||
system.view.write(output)
|
||||
replacer: (ref) ->
|
||||
content = that.writers[ref].fcall(that, system, action)
|
||||
output = "<span>"+content+"</span>" # <p> tags are usually bad for replacers
|
||||
system.view.replace(output, '#'+ref)
|
||||
system.view.replace(content, '#'+ref)
|
||||
inserter: (ref) ->
|
||||
content = that.writers[ref].fcall(that, system, action)
|
||||
output = markdown(content)
|
||||
|
|
Loading…
Reference in a new issue