Skip to content

Commit

Permalink
Stop replacing pipe char with encoded
Browse files Browse the repository at this point in the history
Fixes problem of | being outputted because it's wrapped in a code block.
  • Loading branch information
Rick Jones authored Nov 22, 2016
1 parent 503db9a commit 944b671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/prmd/templates/schemata/helper.erb
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
end

if value['pattern']
description += "<br/> **pattern:** `#{value['pattern'].gsub /\|/, '&#124;'}`"
description += "<br/> **pattern:** `#{value['pattern']}`"
end

if value['minLength'] || value['maxLength']
Expand Down

0 comments on commit 944b671

Please sign in to comment.