inukshuk/latex-decode — Issue #2: \& is not properly supported
Author: vanto
Created: 2011-12-06 08:37:40+00:00
State: open

When using latex-decode in conjunction with bibtex-ruby's latex filter, it seems to mess up the use of \&, see the IRB snippet below. The expected results would be "Faults & Failures"

irb(main):001:0> require 'latex/decode'
=> true
irb(main):002:0> LaTeX.decode "Faults \& Failures"
=> "Faults & Failures"
irb(main):003:0> LaTeX.decode "Faults \\& Failures"
=> "Faults \\&Failures"

irb(main):004:0> LaTeX.decode "Faults \\& Failures" == "Faults \& Failures"
=> "false"

Unfortunately I didn't manage to run the cucumber tests, so I can't really add and test a feature description.