Skip to content

Commit

Permalink
Backslash-escape opening curly braces
Browse files Browse the repository at this point in the history
Those are special in JIRA.
  • Loading branch information
tarleb committed May 31, 2019
1 parent cb8256e commit 398e0c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jira.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
-- syntax errors.

-- Character escaping
local function escape(s, in_attribute)
return s
local function escape(s)
return s:gsub("{", "\\{")
end

-- Blocksep is used to separate block elements.
Expand Down

0 comments on commit 398e0c2

Please sign in to comment.