tentwentyfour / remaim

Redmine to Maniphest migration utility
MIT License
8 stars 2 forks source link

Strip embedded images from descriptions #23

Open kwisatz opened 7 years ago

kwisatz commented 7 years ago

Migrating tickets that have images embedded in their description now produce this:

      ["description"]=>
      array(1) {
        ["raw"]=>
        string(69) "!https://progest.youth.lu/attachments/227/screenshot.png!

{F3605720}"
      }

We can strip the string enclosed in exclamation marks since any attachments automatically get embedded.