Skip to content

Wrap exported method source code with a <pre> tag#7

Open
khinsen wants to merge 1 commit into
feenkcom:mainfrom
khinsen:method-source-in-pre-tag
Open

Wrap exported method source code with a <pre> tag#7
khinsen wants to merge 1 commit into
feenkcom:mainfrom
khinsen:method-source-in-pre-tag

Conversation

@khinsen

@khinsen khinsen commented Dec 28, 2023

Copy link
Copy Markdown

The <code> tag doesn't preserve the line structure on its own, it needs to be wrapped in an additional <pre>.

See
https://html.spec.whatwg.org/multipage/grouping-content.html#the-pre-element

The <code> tag doesn't preserve the line structure on its own, it
needs to be wrapped in an additional <pre>.

See
https://html.spec.whatwg.org/multipage/grouping-content.html#the-pre-element
@CLAassistant

CLAassistant commented Apr 20, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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