Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion apps/website/src/pages/Blog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,11 @@ function inline(text: string): React.ReactNode[] {
while ((m = re.exec(text)) !== null) {
if (m.index > last) out.push(text.slice(last, m.index))
if (m[1] !== undefined) {
out.push(<strong key={k++}>{m[1]}</strong>)
// Bold RECURSES: one Russian paragraph is a code span inside a bold
// span, and a flat pass matches the bold first, swallows the backticks
// and shows them. Found on 1 page of 62 -- and only because the sweep
// covered BOTH locales. The English-only sweep before it read clean.
out.push(<strong key={k++}>{inline(m[1])}</strong>)
} else {
out.push(
<code
Expand Down
Loading