Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix: remove formats from document outline headings #12130
After #8204 was merged, we started using the heading content as the outline item.
This PR makes sure we show the plain text in the hading without any formats.
Props to @mcsf for finding the issue and proposing a solution.
How has this been tested?
In the code editor I pasted:
I checked that the document inspector shown matches the "After" image.