qalculate-android icon indicating copy to clipboard operation
qalculate-android copied to clipboard

fix: change regex so it correctly identifies html encoded tags

Open Hoverth opened this issue 1 year ago • 3 comments

Fixes #73.

I had to fiddle with the regex a bit, but it seems to be working.

I set the action for   to pop it, otherwise it results in the main equation bar being unreadable (see image below).

Screenshot

Hoverth avatar Oct 05 '24 01:10 Hoverth

Hm, it was working before, but now it crashes the app upon there being a  .

Hoverth avatar Oct 05 '24 02:10 Hoverth

Fixed by changing pop() to append("")

Hoverth avatar Oct 05 '24 02:10 Hoverth

I've just added support for <, >, and & as html-encoded characters as well.

Hoverth avatar Oct 05 '24 02:10 Hoverth

Thanks a lot for the contribution!

@all-contributors please add @Hoverth for code

jherkenhoff avatar Oct 06 '24 20:10 jherkenhoff

@jherkenhoff

I've put up a pull request to add @Hoverth! :tada:

allcontributors[bot] avatar Oct 06 '24 20:10 allcontributors[bot]