Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@luin
Copy link
Member

@luin luin commented Feb 11, 2022

The code() method should be rendering target agnostic so this PR moves the encode logic to html(). It breaks BC for code() but it was introduced in 2.0 and we don't have it documented or decided to make it as a public API yet so should be fine.

@luin luin force-pushed the zh-no-escape-code branch from c32b67a to 68953f5 Compare February 11, 2022 05:42
@luin luin force-pushed the zh-no-escape-code branch from 68953f5 to 0de0077 Compare February 11, 2022 05:43
@luin luin marked this pull request as ready for review February 11, 2022 05:52
@jhchen jhchen merged commit 885f1a2 into develop Feb 11, 2022
@jhchen jhchen deleted the zh-no-escape-code branch February 11, 2022 19:13
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