Skip to content

Conversation

KitsuneRal
Copy link
Member

@KitsuneRal KitsuneRal commented Mar 23, 2025

The functionality is complete (it's exactly the same code that Quaternion has been using since 0.0.96, save for the namespace change) but there are no tests for it yet.

@KitsuneRal KitsuneRal added the enhancement A feature or change request for the library label Mar 23, 2025
Copy link

sonarqubecloud bot commented Mar 23, 2025

@KitsuneRal KitsuneRal force-pushed the kitsune/htmlfilter branch 6 times, most recently from 335b46c to 61605b0 Compare March 28, 2025 07:25
Produces a QRegularExpression object. You still should store it in a
static variable unless you are using it no more than once throughout the
program run time; but at least that static variable definition becomes
more compact (`static const auto re = "...."_qre;`).
Most of HtmlFilter have been written as wall-of-code functions without
much of separation into logical parts. This commit tries to address
this, factoring out some of the code into dedicated functions and
restructuring filterTag() into ElementFilter class.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement A feature or change request for the library

Projects

Status: In work

Development

Successfully merging this pull request may close these issues.

1 participant