feat: moving from old name conventions.

This commit is contained in:
Andrey Parhomenko 2024-12-25 00:43:55 +05:00
parent b034dcf61a
commit c3e02a0d1a
6 changed files with 4 additions and 0 deletions

View file

@ -28,7 +28,11 @@ pub fn render_markdown_for_fts(src: &str) -> String {
for event in p {
match event {
// As far as I understand this is a basic
// sanitizing to prevent HTML from
// appearing in page.
Text(text) => buf.push_str(&text.replace(is_html_special, " ")),
// Footnote links maybe?
End(Tag::Link(uri, _title)) => {
buf.push_str(" (");
buf.push_str(&uri.replace(is_html_special, " "));