~sircmpwn/sr.ht-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH v3] Add id to list of permitted anchor attributes

Details
Message ID
<20201205183245.12303-1-sourcehut.trs-80@isnotmyreal.name>
DKIM signature
pass
Download raw message
Patch: +1 -0
---
Aah yes, good catch.  Sorry, I forgot to update that along with other
changes from v1 -> v2.

Will that be all that's needed?  No modifications to any of those
other functions?

Cheers,
TRS-80

 srht/markdown.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srht/markdown.py b/srht/markdown.py
index 8929803..a724e4f 100644
--- a/srht/markdown.py
+++ b/srht/markdown.py
@@ -139,6 +139,7 @@ def _wildcard_filter(tag, name, value):
    return name in ["style", "class", "colspan", "rowspan"]

_sanitizer_attrs = {
    "a": ["id"],
    "h1": ["id"],
    "h2": ["id"],
    "h3": ["id"],
-- 
2.29.2

Re: [PATCH core.sr.ht v3] Add id to list of permitted anchor attributes

Details
Message ID
<6703a337b650843f137d427981bceb25@isnotmyreal.name>
In-Reply-To
<20201205183245.12303-1-sourcehut.trs-80@isnotmyreal.name> (view parent)
DKIM signature
pass
Download raw message
Sorry!  I forgot to add component to patch tag.  But I don't want to
kick off another build...

But I can send a fixed up v4 if you prefer?

Still getting the hang of this email workflow.  :/

Cheers,
TRS-80
Details
Message ID
<C7LS28MOTVE4.1EHXWOEEA2D2W@taiga>
In-Reply-To
<20201205183245.12303-1-sourcehut.trs-80@isnotmyreal.name> (view parent)
DKIM signature
fail
Download raw message
DKIM signature: fail
Thanks!

To git@git.sr.ht:~sircmpwn/core.sr.ht
   fe16d27..403b26c  master -> master
Reply to thread Export thread (mbox)