Skip to content

Address HTML markup issues reported by Herb - #946

Open
marcoroth wants to merge 1 commit into
GratefulGarmentProject:masterfrom
marcoroth:herb-findings
Open

Address HTML markup issues reported by Herb#946
marcoroth wants to merge 1 commit into
GratefulGarmentProject:masterfrom
marcoroth:herb-findings

Conversation

@marcoroth

@marcoroth marcoroth commented Jul 25, 2026

Copy link
Copy Markdown

While I was working on RubyEvents and updating lightning talks I came across StockAid and saw it's written in HTML+ERB. Naturally what I do is try to run my new Herb toolchain I'm working on it and see what it finds.

This pull request addresses the issues it reported: two missing or mistyped closing tags, a <ul> nested inside a <p>, and 15 ERB output tags in attribute position (<%= "selected" if … %>) rewritten to control flow with static attributes.

If it'd be useful, I'm happy to follow up with a small CI step so these don't creep back in, but no worries if you'd rather not.

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.

1 participant