Skip to content

Conversation

predragleka
Copy link

Added support for heading tags to be matched as block tags. Headings were matched against regex for open and close tags so content inside was pushed to new line. This isn't a big deal, but for our project we needed it to be placed inside one line.

@gajus
Copy link
Owner

gajus commented Feb 12, 2016

@predragleka Please remove the .idea addition for .gitignore.

@predragleka
Copy link
Author

Done. Sorry for that, did it out of habit.

@predragleka
Copy link
Author

Didn't figured out that regex is used in test. I fixed test regex to reflect updated regex in Indenter class

@predragleka predragleka closed this Mar 2, 2016
@predragleka predragleka reopened this Mar 2, 2016
…/a></strong></p> would push <strong> tag into new line so output would look like this

<p>
    <strong><a>text</a></strong>
</p>
now it stays in one line
* Test row added into test HTML to check this case
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.

2 participants