You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SingleLineComment and CommentBlock should be part of the DraftDocument, but there is no need for keeping them in the final Document which is returned by the parser and passed to the renderer.
The text was updated successfully, but these errors were encountered:
Do not retain SingleLineComments and CommentBlocks in final Document
Refactor document processing to filter out all unneeded
blocks in the final document, including single line comments
and comment blocks
also, split the `document_processing.go` file for better
readability and testing
also, increase testing on quoted texts and lists
also, fix a problem where paragraph with empty content was
not rendered at all
fixesbytesparadise#454
Signed-off-by: Xavier Coulon <[email protected]>
…in final Document
Refactor document processing to filter out all unneeded
blocks in the final document, including single line comments
and comment blocks
also:
- split the `document_processing.go` file for better
readability and testing
- increase testing on quoted texts and lists
- fix a problem where paragraph with empty content was
not rendered at all
fixes#454
Signed-off-by: Xavier Coulon <[email protected]>
SingleLineComment
andCommentBlock
should be part of theDraftDocument
, but there is no need for keeping them in the finalDocument
which is returned by the parser and passed to the renderer.The text was updated successfully, but these errors were encountered: