diff options
author | kibigo! <marrus-sh@users.noreply.github.com> | 2017-06-30 15:03:31 -0700 |
---|---|---|
committer | kibigo! <marrus-sh@users.noreply.github.com> | 2017-06-30 15:03:31 -0700 |
commit | c58877862d8622b009e473205a6322e013849a7e (patch) | |
tree | f55d562d35ee123b3b90a4b46ceb71c455301e44 /app/lib | |
parent | 0e310f1ee3de0444e1a0d4f2a9fbc65f97c8feb4 (diff) |
createBio function added
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/frontmatter_handler.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/lib/frontmatter_handler.rb b/app/lib/frontmatter_handler.rb index 4ee43f092..83e5f465e 100644 --- a/app/lib/frontmatter_handler.rb +++ b/app/lib/frontmatter_handler.rb @@ -36,6 +36,7 @@ class FrontmatterHandler NOT_LINE_BREAK = unirex '(?!' + rexstr(LINE_BREAK) + ').' NOT_INDICATOR = unirex '(?!' + rexstr(INDICATOR) + ').' NOT_FLOW_CHAR = unirex '(?!' + rexstr(FLOW_CHAR) + ').' + NOT_ALLOWED_CHAR = unirex '(?!' + rexstr(ALLOWED_CHAR) + ').' # BASIC CONSTRUCTS # @@ -192,6 +193,7 @@ class FrontmatterHandler .gsub(/\\a/, "\u{07}") .gsub(/\\b/, "\u{08}") .gsub(/\\t/, "\u{09}") + .gsub(/\\\u{09}/, "\u{09}") .gsub(/\\n/, "\u{0a}") .gsub(/\\v/, "\u{0b}") .gsub(/\\f/, "\u{0c}") |