<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -5,7 +5,7 @@ module RTF
     # method escapes any special sequences that appear in the text.
     def to_rtf
       _text = @text || ''
-      _text.gsub(&quot;{&quot;, &quot;\\{&quot;).gsub(&quot;}&quot;, &quot;\\}&quot;).gsub(&quot;\\&quot;, &quot;\\\\&quot;)
+      _text = _text.gsub(&quot;\\&quot;, &quot;\\\\\\&quot;).gsub(&quot;{&quot;, &quot;\\{&quot;).gsub(&quot;}&quot;, &quot;\\}&quot;)
       _text.unpack('U*').map { |n| n &lt; 128 ? n.chr : n &lt; 256 ? &quot;\\'#{n.to_s(16)}&quot; : &quot;\\u#{n}\\'3f&quot; }.join('')
     end
   end</diff>
      <filename>rtf/utf8.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>123511f4930339b74cb26a25c3dc93423c0f266a</id>
    </parent>
  </parents>
  <author>
    <name>Laurent Farcy</name>
    <email>laurent.farcy@argyl.fr</email>
  </author>
  <url>http://github.com/lfarcy/rtf-extensions/commit/bdf32e0ba61fa3754d89866e338880692f00c5ec</url>
  <id>bdf32e0ba61fa3754d89866e338880692f00c5ec</id>
  <committed-date>2009-05-11T00:48:03-07:00</committed-date>
  <authored-date>2009-05-11T00:48:03-07:00</authored-date>
  <message>Fix escaping of brackets and backslashes (that must come first)</message>
  <tree>7c0c87aa8861ff2f7b5349fbdd9b22ad2b877d18</tree>
  <committer>
    <name>Laurent Farcy</name>
    <email>laurent.farcy@argyl.fr</email>
  </committer>
</commit>
