Skip to content

Fix some warning blocks that contain Markdown #2446

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 2, 2025

Conversation

fmease
Copy link
Member

@fmease fmease commented Jun 2, 2025

Content inside of an HTML element only gets interpreted as Markdown (as opposed to HTML) if its separated from the HTML tags with line breaks.

Some examples of before and after:

Before After
Screenshot 2025-06-02 at 16-17-27 Test directives - Rust Compiler Development Guide Screenshot 2025-06-02 at 16-17-45 Test directives - Rust Compiler Development Guide
Screenshot 2025-06-02 at 16-18-38 Autodiff flags - Rust Compiler Development Guide Screenshot 2025-06-02 at 16-19-04 Autodiff flags - Rust Compiler Development Guide
Screenshot 2025-06-02 at 16-20-42 Minicore - Rust Compiler Development Guide Screenshot 2025-06-02 at 16-21-03 Minicore - Rust Compiler Development Guide

Contents inside of an HTML element only get interpreted as Markdown
(as opposed to HTML) if its separated from the HTML tags with line breaks.
@rustbot rustbot added the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Jun 2, 2025
@fmease fmease enabled auto-merge June 2, 2025 14:27
@fmease fmease removed the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Jun 2, 2025
@fmease fmease merged commit 1652578 into rust-lang:master Jun 2, 2025
1 check passed
@fmease fmease deleted the fix-warning-blocks branch June 2, 2025 14:27
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