claudioc / jingo

Node.js based Wiki
MIT License
1.02k stars 183 forks source link

Page Link Tag does not work unless application.allowHtml is true #261

Closed sjTaylor closed 4 years ago

sjTaylor commented 5 years ago

When using the Page Link Tags (e.g. [[Jingo Works]]) it renders as escaped HTML instead of a link. For example, [[Locations]] renders as <a class="internal" href="/wiki/Locations">Locations</a> on the page.

Should the Page Link Tags be an exeption to the not rendering html rule?

If the current behaviour is intended, the Page Link Tag docs should indicate that you need to set application.allowHTML=true for it to work. Otherwise, it's a bug that needs to be fixed.