Open ayoayco opened 1 year ago
In the cozify() function within utils/sanitizer.ts, if the href value of an a element is within same article, it is most likely just to an article section
cozify()
utils/sanitizer.ts
href
a
Set the value of href so that it only has the section url prepended by #
#
Hi @ayoayco. I want to work on this issue. Could you please assign it to me?
PR welcome! No need to assign
In the
cozify()
function withinutils/sanitizer.ts
, if thehref
value of ana
element is within same article, it is most likely just to an article sectionSet the value of
href
so that it only has the section url prepended by#