Split lang on tab to be consistent with rustdoc and GitHub.

This commit is contained in:
Eric Huss 2021-07-10 09:33:34 -07:00
parent cc74ca2e6e
commit fae0759626

View file

@ -231,7 +231,7 @@ fn clean_codeblock_headers(event: Event<'_>) -> Event<'_> {
let info: String = info
.chars()
.map(|x| match x {
' ' => ',',
' ' | '\t' => ',',
_ => x,
})
.filter(|ch| !ch.is_whitespace())