phlexing icon indicating copy to clipboard operation
phlexing copied to clipboard

Simple ERB to Phlex converter

Results 34 phlexing issues
Sort by recently updated
recently updated
newest added

Bumps [phlex](https://github.com/phlex-ruby/phlex) from 1.9.1 to 1.10.2. Release notes Sourced from phlex's releases. 1.10.2 Includes security fixes for https://github.com/phlex-ruby/phlex/security/advisories/GHSA-9p57-h987-4vgx 1.10.1 Includes important security fixes https://github.com/phlex-ruby/phlex/security/advisories/GHSA-g7xq-xv8c-h98c 1.10.0 Highlights [Experimental] Selective Rendering When...

dependencies
ruby

This pull request swaps out the custom implementation in `Phlexing::Parser` to use the new [`nokogiri-html5-inference`](https://github.com/flavorjones/nokogiri-html5-inference) gem to parse HTML fragments. Currently blocked on https://github.com/flavorjones/nokogiri-html5-inference/issues/5 and https://github.com/flavorjones/nokogiri-html5-inference/issues/6

Bumps [phlex-rails](https://github.com/phlex-ruby/phlex-rails) from 1.1.1 to 1.2.1. Release notes Sourced from phlex-rails's releases. 1.2.1 Just a quick fix for an issue that occurred when rendering ViewComponents inside Phlex Components. What's Changed...

dependencies
ruby

Bumps [phlex](https://github.com/phlex-ruby/phlex) from 1.10.1 to 1.10.2. Release notes Sourced from phlex's releases. 1.10.2 Includes security fixes for https://github.com/phlex-ruby/phlex/security/advisories/GHSA-9p57-h987-4vgx Commits 7052ee8 1.10.2 See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=phlex&package-manager=bundler&previous-version=1.10.1&new-version=1.10.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)...

dependencies
ruby

Bumps [phlex](https://github.com/phlex-ruby/phlex) from 1.10.1 to 1.10.2. Release notes Sourced from phlex's releases. 1.10.2 Includes security fixes for https://github.com/phlex-ruby/phlex/security/advisories/GHSA-9p57-h987-4vgx Commits 7052ee8 1.10.2 See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=phlex&package-manager=bundler&previous-version=1.10.1&new-version=1.10.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)...

dependencies
ruby

**Is your feature request related to a problem? Please describe.** It would be cool to have a proper editor on the left side to edit the ERB. **Describe the solution...

enhancement

This pull request adds support for properly converting non-standard Alpine.js attributes, like: ```html Button ``` Now converts to: ```ruby button("@click.prevent": "something") { "Button" } ``` instead of: ```ruby button(click.: true,...

**ERB Input:** ```erb Content ``` **Output:** ```ruby plain something do plain " Content" end ``` **Expected output:** ```ruby something do plain " Content" end ``` @adamlogic experienced this in the...

wrong converter output

**ERB Input:** ```erb Button ``` **Output:** ```ruby class ButtonComponent < Phlex::HTML def template button(click.: true, prevent: %(something)) { %(Button) } end end ``` **Expected output:** ```ruby class ButtonComponent < Phlex::HTML...

wrong converter output

Even while it's encouraged to use Kebab-case for HTML-tags there are some use-cases where we have case-sensitive HTML elements, like in SVG (see #139). This would also allow to cleanup...

wrong converter output