Closed zheeeng closed 2 weeks ago
The changes in this pull request involve modifications to the error messages in the richTextParser
and its related functions. The updates focus on rephrasing error messages for clarity and consistency, particularly regarding expected start and end tags. The changes affect the Grammar
, ContextStart
, and ContextEnd
functions, as well as the test cases in rich-text-parser.spec.ts
, improving the overall error reporting mechanism without altering any public or exported entity declarations.
File Path | Change Summary |
---|---|
plugin-packages/rich-text/src/rich-text-parser.ts | Rephrased error messages in Grammar , ContextStart , and ContextEnd functions for clarity regarding expected tags. |
plugin-packages/rich-text/test/src/rich-text-parser.spec.ts | Updated error messages in test cases for clarity when handling unparsable rich text. |
In the land of text where tags reside,
Errors once tangled, now clear as the tide.
With messages bright, like stars in the night,
Parsing is smoother, a joyful delight!
Hooray for the changes, letβs hop and cheer,
For clarity reigns, our path is now clear! πβ¨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit