Split lang on tab to be consistent with rustdoc and GitHub.
This commit is contained in:
parent
cc74ca2e6e
commit
fae0759626
|
@ -231,7 +231,7 @@ fn clean_codeblock_headers(event: Event<'_>) -> Event<'_> {
|
||||||
let info: String = info
|
let info: String = info
|
||||||
.chars()
|
.chars()
|
||||||
.map(|x| match x {
|
.map(|x| match x {
|
||||||
' ' => ',',
|
' ' | '\t' => ',',
|
||||||
_ => x,
|
_ => x,
|
||||||
})
|
})
|
||||||
.filter(|ch| !ch.is_whitespace())
|
.filter(|ch| !ch.is_whitespace())
|
||||||
|
|
Loading…
Reference in New Issue