Aqui:
master ← Arkshine:modernize
opened 05:30PM - 21 Mar 25 UTC
This PR does the following:
* Adds support for native class in the core
* Adds… missing config files, including lint
* Removes `es6` extension
* Removes API version and pin theme to 3.5.0.beta1-dev
* Makes the replacing links regex lazy to avoid removing text between two links
The code itself is untouched. I checked the core, and it's still up to date.
<details>
<summary>Demo</summary>
https://github.com/user-attachments/assets/d2195f62-a0b9-4e26-9237-f38bfe736980
</details>
<details>
<summary>About the issue with links, here is an example:</summary>

Visually, it was matching:

But now:

And it works better:

</details>
Além disso, vale notar que isso corrige um problema com a substituição de links.
A regex era muito gananciosa e excluía qualquer texto entre dois links.
7 curtidas