Duplicate section numbering when heading starts with formatted text

Hi,

Starting a heading (# or ##) with formatted text (italic or bold) duplicates the section number in WriteRoom 4.

Example:
Input: ## *Registers:* Accumulator, X, and Y
Expected: 1.1 Registers: Accumulator, X, and Y
Actual: 1.1 1.1 Registers: Accumulator, X, and Y

See attached screenshots for details.


Is this a bug that can be fixed, or is formatting within headings not intended? Or did I do something wrong?

Regards,
Michael


WR 4.0 Preview 413
macOS 27.2

Thanks, this is a bug that I’ll try to fix.