1
Fork 0

Add support for double quotes in markdown codeblock attributes

This commit is contained in:
Guillaume Gomez 2023-04-27 15:09:43 +02:00
parent d829fee6b5
commit 4ce17fa30e
5 changed files with 145 additions and 49 deletions

View file

@ -0,0 +1,17 @@
// This test ensures that warnings are working as expected for "custom_code_classes_in_docs"
// feature.
#![feature(custom_code_classes_in_docs)]
#![deny(warnings)]
#![feature(no_core)]
#![no_core]
/// ```{class="}
/// main;
/// ```
//~^^^ ERROR unclosed quote string
//~| ERROR unclosed quote string
/// ```"
/// main;
/// ```
pub fn foo() {}