mikitex70 / redmine_drawio

Macro plugin to embed draw.io diagrams into Redmine wiki pages
MIT License
123 stars 51 forks source link

Macro drawio_dmsf only working in wiki #99

Closed K-Duke closed 3 years ago

K-Duke commented 3 years ago

While in the wiki the macro works wonderfully for display purposes, i get an error when inserting the macro in the description or the comment of an issue.

The way I include the macro: {{drawio_dmsf(Diagramme/WAKOMASERV_entity.xml)}}

The error I get: Error executing the drawio_dmsf macro (undefined method 'gsub' for nil:NilClass)

mikitex70 commented 3 years ago

Hi @K-Duke, the issue is now fixed. Thanks for reporting this small, stupid but important bug.

K-Duke commented 3 years ago

Great! I can confirm the fix is working properly.