Skip to content

Commit

Permalink
Escape ^ as \textasciicircum{}
Browse files Browse the repository at this point in the history
  • Loading branch information
creideiki committed Jul 20, 2024
1 parent a3fa3a8 commit cfb3756
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/fimfic2pdf/transformer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ def latex_escape(string)
gsub('%', '\%').
gsub('&', '\\\&').
gsub('$', '\\$').
gsub('~', '\\textasciitilde{}')
gsub('~', '\\textasciitilde{}').
gsub('^', '\\textasciicircum{}')
end

def unicodify(string)
Expand Down

0 comments on commit cfb3756

Please sign in to comment.