Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double colon ":" in aligned text #3628

Closed
jonasstein opened this issue Jun 5, 2022 · 2 comments · Fixed by #3629
Closed

Double colon ":" in aligned text #3628

jonasstein opened this issue Jun 5, 2022 · 2 comments · Fixed by #3629
Labels

Comments

@jonasstein
Copy link
Contributor

jonasstein commented Jun 5, 2022

Environment

Python Version:
Python 3.9.13

Nikola Version:
Nikola 8.2.2

Operating System:
Gentoo Linux

Description:

Aligned text in .rst with the following source

Öffnungszeiten
==============


:Montag:     geschlossen 
:Dienstag:   geschlossen
:Mittwoch:   11:30 - 15:00 und 17:00 - 21:00
:Donnerstag: 11:30 - 15:00 und 17:00 - 21:00
:Freitag:    11:30 - 15:00 und 17:00 - 21:00
:Samstag:    11:30 - 21:00
:Sonntag:    12:30 - 21:00

is rendered as:
image

I marked the section with the mouse. Note that one colon is not marked. Perhaps it is added by css?
See live website on http://yenyen.de/
The .html output was

<dt>Donnerstag<span class="colon">:</span>
</dt>

I changed it manually to

<dt>Donnerstag<span class="colon"></span>
</dt>

Now I have an unwanted space before the colon.

@jonasstein jonasstein added the bug label Jun 5, 2022
@ralsina
Copy link
Member

ralsina commented Jun 6, 2022 via email

@ralsina
Copy link
Member

ralsina commented Jun 6, 2022 via email

@Kwpolska Kwpolska linked a pull request Jun 6, 2022 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants