Closed dexster closed 3 years ago
@shilman Is there someone who could give some feedback on this?
Thanks for the nudge @dexster -- sorry I missed this first time around.
That change sounds reasonable to me, and I think I wrote the original buggy code 😉
Zoinks!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.4.0-alpha.25 containing PR #15774 that references this issue. Upgrade today to the @next
NPM tag to try it out!
npx sb upgrade --prerelease
Describe the bug Certain characters are not translated correctly. See image below of a Controls description.
This issue above is caused by an apostrophe in the jsdoc comment
This is because Compodoc does some parsing of the jsdoc when generating the
description
property. It also adds HTML tags to thisdescription
propertyCompodoc 1.1.14 has a new property called
rawdescription
which does not encode characters or add HTML tags. The difference looks like thisI propose we move from using the
description
property to therawdescription
property. I can make the change if you're happy to go ahead with this?