scalatags icon indicating copy to clipboard operation
scalatags copied to clipboard

ScalaTags is a small XML/HTML construction library for Scala.

Results 41 scalatags issues
Sort by recently updated
recently updated
newest added

No rush, just to track it. Thanks!

In Scala 3, `if` without an `else` always evaluates to `Unit`. This means code like `div(if (cond) h1("a"), ...)` now never produces anything, even if the conditions is true, which...

Prevents accidentally using if without else in Scala 3, which now always evaluates to `()`. Of course this is a breaking change, but still better than silent breakage.

Bumps [jsdom](https://github.com/jsdom/jsdom) from 20.0.3 to 21.1.2. Release notes Sourced from jsdom's releases. Version 21.1.2 Fixed setRangeText() used on <input> and <textarea> elements to calculate the new end index correctly. (pmstss)...

dependencies
javascript

When touching this repo (or really any repo) I also rely on being able to just trigger a format, but this repo has none set up. The formatting is also...

While you could do this before, if you had a class `a` and you wanted to keep it simple and not have anything for your `customSheetName` you'd end up with...

This pr adds in some missing `Selector`s, mainly for different sections that exist in the tags, but not in the selectors.

The comment on Escaping.validAttrName says that an attribute can start with an underscore but `startCharValid` doesn't allow an underscore. I think that the fix is as simple as `|| sc...

The docs on https://com-lihaoyi.github.io/scalatags/ are out of date (version 0.8.2) and I looked into updating them. However, I can't build them and my attempt at trying to fix this failed.

This PR fixes the broken "build" badge and adds a badge with the latest published version.