Skip to content

Custom Style Headings Don't Show Properly in Headings Pane in Navigator #1722

@dwillis77

Description

@dwillis77

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:

  1. 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".
  2. Apply custom style to some text on a page.
  3. 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

OneMore_Navigator_CustomStyleHeaders

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreleasedAvailable in a released installer

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions