Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Tokenize HTML as HTML without beautification #64

Merged
merged 2 commits into from
Nov 5, 2017
Merged

Tokenize HTML as HTML without beautification #64

merged 2 commits into from
Nov 5, 2017

Conversation

winstliu
Copy link
Contributor

@winstliu winstliu commented Nov 5, 2017

Requirements

  • Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
  • All new code requires tests to ensure against regressions

Description of the Change

The first commit removes the js-beautify dependency. All our HTML can already be considered "beautified". I did a manual visual check and cannot find any differences between the raw and beautified HTML output. The second commit tokenizes HTML as HTML instead of...XML?

Alternate Designs

None.

Benefits

More accurate highlighting through Highlights, as well as one less dependency to install and require.

Possible Drawbacks

Perhaps js-beautify was doing something important.

Applicable Issues

None.

Wliu added 2 commits November 5, 2017 14:17
We were trying to beautify HTML with it...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant