mirror of https://gitlab.com/bashrc2/epicyon
Text mode post separator
parent
1e3ca2b622
commit
d3390d59a7
|
@ -602,6 +602,12 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
translate['Page up'] + '"></a>\n' + \
|
translate['Page up'] + '"></a>\n' + \
|
||||||
' </center>\n'
|
' </center>\n'
|
||||||
|
|
||||||
|
# separator between posts which only appears in shell browsers
|
||||||
|
# such as Lynx and is not read by screen readers
|
||||||
|
textModeSeparator = \
|
||||||
|
'<div class="transparent">' + \
|
||||||
|
'<pre aria-label=""><hr></pre></div>'
|
||||||
|
|
||||||
# show the posts
|
# show the posts
|
||||||
itemCtr = 0
|
itemCtr = 0
|
||||||
if timelineJson:
|
if timelineJson:
|
||||||
|
@ -670,7 +676,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
|
|
||||||
if currTlStr:
|
if currTlStr:
|
||||||
itemCtr += 1
|
itemCtr += 1
|
||||||
tlStr += currTlStr
|
tlStr += textModeSeparator + currTlStr
|
||||||
if separatorStr:
|
if separatorStr:
|
||||||
tlStr += separatorStr
|
tlStr += separatorStr
|
||||||
if boxName == 'tlmedia':
|
if boxName == 'tlmedia':
|
||||||
|
|
Loading…
Reference in New Issue