SassDoc / sassdoc-theme-default

Default theme for SassDoc.
MIT License
10 stars 30 forks source link

Update return.html.njk #115

Closed WinterSilence closed 2 years ago

WinterSilence commented 2 years ago

Fix multi-type result: safe tags '</code> or <code>'

pascalduez commented 2 years ago

Hey @WinterSilence,

thanks for the PR! Could you be a bit more explicit about the issue, eventually with samples of wrong output or else. The related issue is not of great help neither...

WinterSilence commented 2 years ago

@pascalduez now, for multiple return types generates wrong HTML: <code>Map&lt;/code&gt; or &lt;code&gt;List</code>, this PR fix it: <code>Map</code> or <code>List</code>. See https://github.com/SassDoc/sassdoc-theme-default/blob/20b5a94fb0561577b539cda7782e21a56296cdc7/views/includes/annotations/parameter.html.njk#L24

pascalduez commented 2 years ago

Thanks!

pascalduez commented 2 years ago

sassdoc-theme-default@2.8.4