Skip to content

Recipe JS: improve support for escape sequences in copied code#46

Merged
swharden merged 3 commits intoScottPlot:mainfrom
CoderPM2011:fix/copy-code
Jan 28, 2025
Merged

Recipe JS: improve support for escape sequences in copied code#46
swharden merged 3 commits intoScottPlot:mainfrom
CoderPM2011:fix/copy-code

Conversation

@CoderPM2011
Copy link
Copy Markdown
Contributor

Oops! I think I planted a bug without realizing it. 😓

sample: https://scottplot.net/cookbook/5.0/Ellipse/PlotEllipseQuickstart/
image

@swharden swharden changed the title fix: Mixed escape sequences in copied code Recipe JS: improve support for escape sequences in copied code Jan 28, 2025
@swharden
Copy link
Copy Markdown
Member

Thanks @CoderPM2011!

I'm always humbled by JavaScript 😅

https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent

@swharden swharden merged commit 88c57fd into ScottPlot:main Jan 28, 2025
@CoderPM2011 CoderPM2011 deleted the fix/copy-code branch January 28, 2025 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants