From 53d9009fc6c9fc1f26a266189431cd9f024d4876 Mon Sep 17 00:00:00 2001 From: Alexander Yakovlev Date: Mon, 1 Feb 2016 17:10:34 +0700 Subject: [PATCH] No need to wrap the replacer in `span` now --- lib/room.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/room.coffee b/lib/room.coffee index 8155ecf..7660388 100644 --- a/lib/room.coffee +++ b/lib/room.coffee @@ -180,8 +180,7 @@ class SaletRoom system.view.write(output) replacer: (ref) -> content = that.writers[ref].fcall(that, system, action) - output = ""+content+"" #

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)