~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 core.sr.ht] Add aria-hidden param to anchor tag

Details
Message ID
<20200915145838.1444-1-gildarts@orbital.rocks>
DKIM signature
fail
Download raw message
Patch: +2 -2 DKIM signature: fail
---
 srht/markdown.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srht/markdown.py b/srht/markdown.py
index 391730e..55c0755 100644
--- a/srht/markdown.py
+++ b/srht/markdown.py
@@ -12,7 +12,7 @@ import mistletoe as m
from mistletoe.span_token import SpanToken, RawText
import re

SRHT_MARKDOWN_VERSION = 9
SRHT_MARKDOWN_VERSION = 10

class PlainLink(SpanToken):
    """
@@ -114,7 +114,7 @@ class SrhtRenderer(m.HTMLRenderer):
        return template.format(attr=attr, inner=inner)

    def render_heading(self, token):
        template = '<h{level} id="{_id}"><a href="#{_id}">#</a>{inner}</h{level}>'
        template = '<h{level} id="{_id}"><a href="#{_id}" aria-hidden="true">#</a>{inner}</h{level}>'
        level = token.level + self.baselevel
        if level > 6:
            level = 6
-- 
2.25.1
Details
Message ID
<C5O15W0EO1AQ.3DBH8GWB0SQK4@homura>
In-Reply-To
<20200915145838.1444-1-gildarts@orbital.rocks> (view parent)
DKIM signature
pass
Download raw message
Thanks!

To git@git.sr.ht:~sircmpwn/core.sr.ht
   22dca28..8df2c7d  master -> master

[core.sr.ht/patches] build failed

builds.sr.ht
Details
Message ID
<C5RJZH4JL7LC.Q6Z1TS50WWNW@cirno>
In-Reply-To
<20200915145838.1444-1-gildarts@orbital.rocks> (view parent)
DKIM signature
missing
Download raw message
core.sr.ht/patches: FAILED in 18m42s

[Add aria-hidden param to anchor tag][0] from [gildarts][1]

[0]: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/13930
[1]: mailto:gildarts@orbital.rocks

✗ #304935 FAILED core.sr.ht/patches/debian.yml    https://builds.sr.ht/~sircmpwn/job/304935
✗ #304932 FAILED core.sr.ht/patches/alpine.yml    https://builds.sr.ht/~sircmpwn/job/304932
✗ #304933 FAILED core.sr.ht/patches/archlinux.yml https://builds.sr.ht/~sircmpwn/job/304933
Reply to thread Export thread (mbox)