-
-
Notifications
You must be signed in to change notification settings - Fork 247
Description
Problem to Solve
When using a custom style on some text that is created as a "heading" style (so it will mark that text as a heading), the heading that shows up in the navigator seems to show the underlying HTML rather than just the stylized text (see screenshot for example).
To Reproduce
Steps to reproduce the behavior:
- Create a custom style using the "custom styles" feature, and make sure it is set as a heading style (make sure "style type" is set to "Heading - include in TOC".
- Apply custom style to some text on a page.
- Open Navigator window and check top pane where headings are shown (manually refresh top pane if necessary) and see that it shows the underlying HTML instead of the heading text.
Expected Behavior
It should show the heading text (the text that the custom style was applied to) without the underlying HTML wrapped around it.
Screenshots
Note the top heading in the screenshot "Settings Sync" is the page title (and it does show correctly as seen in the screenshot) - the sub-heading under it is the custom-styled heading text that is showing up incorrectly.
Environment (if applicable)
- OneNote Version: Office 365 version 2402 (build 17328.20648) semi-annual channel, 64-bit
- OneMore Version 6.6.1
Additional Context
Text with default heading styles applied (headings 1-6) shows up correctly; it is only text with custom heading styles applied that does not.