Skip to content

Vendor everything#35

Merged
100phlecs merged 1 commit into100phlecs:masterfrom
aptinio:vendor-everything
Oct 13, 2023
Merged

Vendor everything#35
100phlecs merged 1 commit into100phlecs:masterfrom
aptinio:vendor-everything

Conversation

@aptinio
Copy link
Copy Markdown
Contributor

@aptinio aptinio commented Oct 13, 2023

The HEExTokenizer is crashing when TailWindFormatter is used with a more recent version of LiveView because HEExTokenizer got out of sync with the other code in LiveView it depends on.

The best solution is to ask the LiveView team to make HTMLFormatter.tokenize/1 a public function.

In the meantime, vendoring everything else that HEExTokenizer needs fixes the issue.

The HEExTokenizer is crashing when TailWindFormatter is used
with a more recent version of LiveView because HEExTokenizer
got out of sync with the other code in LiveView it depends on.

The best solution is to ask the LiveView team to make
HTMLFormatter.tokenize/1 a public function.

In the meantime, vendoring everything else that HEExTokenizer needs
fixes the issue.
@100phlecs 100phlecs merged commit b0b8183 into 100phlecs:master Oct 13, 2023
@aptinio aptinio deleted the vendor-everything branch October 13, 2023 21:58
aptinio added a commit to aptinio/phoenix_live_view that referenced this pull request Apr 29, 2025
Currently, TailwindFormatter vendors
[HTMLFormatter, Tokenizer and HTMLEngine](100phlecs/tailwind_formatter#35).

It would be convenient for TailwindFormatter to use `HTMLFormatter.tokenize/1`
directly and stay in sync with PhoenixLiveView.
aptinio added a commit to aptinio/phoenix_live_view that referenced this pull request Apr 29, 2025
Currently, [TailwindFormatter vendors HTMLFormatter, Tokenizer and HTMLEngine](100phlecs/tailwind_formatter#35).

It would be convenient for TailwindFormatter to use `HTMLFormatter.tokenize/1` directly and stay in sync with PhoenixLiveView.
aptinio added a commit to aptinio/phoenix_live_view that referenced this pull request Apr 29, 2025
Currently, [TailwindFormatter vendors HTMLFormatter, Tokenizer and HTMLEngine](100phlecs/tailwind_formatter#35).

It would be convenient for TailwindFormatter to use `HTMLFormatter.tokenize/1` directly and stay in sync with PhoenixLiveView.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants