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']