Rollup merge of #79097 - GuillaumeGomez:code-block-invalid-html-tag-lint, r=jyn514
Code block invalid html tag lint Fixes #79095 r? ``@jyn514``
This commit is contained in:
commit
c4abdcf0ac
2 changed files with 26 additions and 2 deletions
|
|
@ -87,3 +87,24 @@ pub fn h() {}
|
|||
/// <!--
|
||||
//~^ ERROR Unclosed HTML comment
|
||||
pub fn i() {}
|
||||
|
||||
/// hello
|
||||
///
|
||||
/// ```
|
||||
/// uiapp.run(&env::args().collect::<Vec<_>>());
|
||||
/// ```
|
||||
pub fn j() {}
|
||||
|
||||
// Check that nested codeblocks are working as well
|
||||
/// hello
|
||||
///
|
||||
/// ``````markdown
|
||||
/// normal markdown
|
||||
///
|
||||
/// ```
|
||||
/// uiapp.run(&env::args().collect::<Vec<_>>());
|
||||
/// ```
|
||||
///
|
||||
/// <Vec<_> shouldn't warn!
|
||||
/// ``````
|
||||
pub fn k() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue