Compare commits

...

3 commits

Author SHA1 Message Date
renovate[bot]
f349645eb5
Merge 4ffcbf94e0 into 60cd179c18 2024-11-15 13:08:52 +00:00
renovate[bot]
4ffcbf94e0
chore(deps): update dependency pygments to <=2.18.0 2024-11-15 13:08:49 +00:00
Darren Nathanael
60cd179c18
Fixes: #256 - Plain Text Renderer ignores whitespace (#260)
Text aligns to the left when there *should* be whitespaces.

Signed-off-by: Darren Nathanael <github@darrennathanael.com>
2024-11-15 20:08:25 +07:00
2 changed files with 2 additions and 1 deletions

View file

@ -11,6 +11,7 @@ article {
font-weight: $baseFontRegular; font-weight: $baseFontRegular;
line-height: 24px; line-height: 24px;
word-break: break-word; word-break: break-word;
white-space: pre;
color: $textColor; color: $textColor;
max-width: 600px; max-width: 600px;

View file

@ -30,7 +30,7 @@ python_requires = >=3.6
install_requires = install_requires =
# Essential packages # Essential packages
django>=3.2 django>=3.2
pygments<=2.11.2 pygments<=2.18.0
django-staticinline>=1.0 django-staticinline>=1.0
django-csp>=3.6 django-csp>=3.6
dj_database_url>=0.5.0 dj_database_url>=0.5.0