Skip to content

Commit

Permalink
use backticks around patterns to avoid inadverdent links
Browse files Browse the repository at this point in the history
  • Loading branch information
geemus committed Jan 26, 2016
1 parent ef8cabf commit 6a84c67
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 @@ -136,7 +136,7 @@
end

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

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

0 comments on commit 6a84c67

Please sign in to comment.