spenserblack / steamdown

Convert Markdown to Steam's text format
steamdown.vercel.app
MIT License
27 stars 3 forks source link

Simplify spoiler regex #125

Closed spenserblack closed 1 year ago

spenserblack commented 1 year ago

This fixes an issue where trailing characters after the spoiler would severely effect performance.

Fixes #123

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
steamdown ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 18, 2023 at 7:18PM (UTC)
codecov[bot] commented 1 year ago

Codecov Report

Merging #125 (e18d195) into main (621c3bf) will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #125   +/-   ##
=======================================
  Coverage   99.59%   99.59%           
=======================================
  Files           3        3           
  Lines         244      244           
  Branches       47       47           
=======================================
  Hits          243      243           
  Partials        1        1           
Impacted Files Coverage Δ
packages/steamdown/src/extensions.ts 99.44% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more