Skip to content

Conversation

@SergioEstevao
Copy link
Contributor

@SergioEstevao SergioEstevao commented Jun 13, 2019

Allows the replacement of last empty lines inserted by the serialisers to be replaced to a specific character.

This is special important on handling HTML that consistent in single empty list elements or quote elements where the style needs to be applied to empty lines.

To test:

Copy link
Contributor

@etoledom etoledom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this improvements!

Tested via wordpress-mobile/gutenberg-mobile#1129 (review)

Do you think it could be possible to add a unit test to cover the issue fixed in the last commit?
wordpress-mobile/gutenberg-mobile#1129 (review)

@SergioEstevao
Copy link
Contributor Author

@etoledom Added the test you required and corrected a typo on the variable name. Waiting for CI to finish it to merge this in. Thanks for the review!

@SergioEstevao SergioEstevao merged commit b9e565d into develop Jun 15, 2019
@SergioEstevao SergioEstevao deleted the issue/use_zero_width_character_at_end_of_file branch June 15, 2019 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants