From 944b6714db63d1682a0f59d044859e6176a95cf1 Mon Sep 17 00:00:00 2001 From: Rick Jones Date: Tue, 22 Nov 2016 20:45:05 +0000 Subject: [PATCH] Stop replacing pipe char with encoded Fixes problem of | being outputted because it's wrapped in a code block. --- lib/prmd/templates/schemata/helper.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/prmd/templates/schemata/helper.erb b/lib/prmd/templates/schemata/helper.erb index a257b17..03be986 100644 --- a/lib/prmd/templates/schemata/helper.erb +++ b/lib/prmd/templates/schemata/helper.erb @@ -137,7 +137,7 @@ end if value['pattern'] - description += "
**pattern:** `#{value['pattern'].gsub /\|/, '|'}`" + description += "
**pattern:** `#{value['pattern']}`" end if value['minLength'] || value['maxLength']