OTRS/FAQ — pull request #10 by muehlbauer (2014-09-25 16:24:17+00:00)
Title: [Bug 10557] Fix for missing parts of articles when using inline images

Original regex is too greedy: "1 or more" quantifier makes the match span multiple images at once. Attachment hash does not guarantee the order, so replacing URLs will effectively remove all images between the first and matched one, along with any text in between, and behavior of the bug is somewhat unexpected. Added in the patch is also regex quoting of inserted parameters, since these parameters might include regex metacharacters.