mockup
mockup copied to clipboard
Autotoc removes markup in tabs
I tried to include markup in the tabs, such as an thumb of an image. But at https://github.com/plone/mockup/blob/master/mockup/patterns/autotoc/pattern.js#L128 only the contained text is copied over.
I agree that this is in some situations a feature, in others not.
I propose to add an option rich or markup and set its by default to false, so current behavior is kept, but can be overridden in cases this is needed.
Sounds fine to me.
IMO, if it does not break anything we could leave the "rich" option out and just insert markup in the tab headers per default.