Skip to content

v3.0.4 - Fix literal asterisk rendering in teleprompter

Choose a tag to compare

@hddevteam hddevteam released this 14 Apr 00:54
· 7 commits to main since this release

What's Changed

馃洜 Fixes

  • Fixed a bug where asterisks used as literal characters (e.g. in multiplication expressions like 5 * 3 = 15 * 2) were incorrectly rendered as italic text in CueMode teleprompter view.
  • Updated italic detection regex to match CommonMark spec: the opening * must be immediately followed by a non-whitespace character, and the closing * must be immediately preceded by a non-whitespace character.
  • Added 8 regression tests covering space-padded asterisks, mixed literal/italic content, and single unmatched asterisks.

Full Changelog: v3.0.3...v3.0.4