srid/emanote

Disable hashtag in link text

Ouverte

#167 ouverte le 6 oct. 2021

 (4 commentaires) (0 réaction) (0 personne assignée)Haskell (78 forks)github user discovery
help wantedplutonomicon

Métriques du dépôt

Stars
 (948 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

I notice my tags list is flooded with tags of the form #[\d+], coming from the titles of issue tracker links. Looking at the source I see the hashTagSpec follows CommonMark's allowing other inline elements in link titles, ie ital bold #hash. Still, in the case of hashtags my gut says they should be disallowed in the titles of other links (mostly because I want to be able to drop links from the browser without sanitizing the titles), also Obsidian doesn't parse them. WDYT?

Originally posted by @edrex in https://github.com/srid/emanote/discussions/166

Guide contributeur