aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/__init__.py
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2019-10-31 21:46:17 +0100
committerGravatar Sebastiaan Zeeff <[email protected]>2019-10-31 21:46:17 +0100
commita54d978011436975c151fbd6c729a840ce191dcc (patch)
treed646faee5b3982e9f728e1f12e7e6600b0bd5eeb /pydis_site/__init__.py
parentMerge pull request #293 from python-discord/update-dependency-pinning (diff)
Make newlines visible in deleted messages
https://github.com/python-discord/site/issues/302 This commit makes newlines in deleted messages visible in the deleted messages front-end and makes sure they are not stripped during the conversion to HTML. To represent newlines, I've chosen a commonly used symbol: `↵`. In addition, I've kaizened the colour filter that translates integer representations of colours to their RGB hex-value. The Discord dark theme shows black colours (int: 0; hex: #000000) as white instead, to make reading them against the dark background easier. This commit makes sure our front-end displays the same behavior. This closes #302
Diffstat (limited to 'pydis_site/__init__.py')
0 files changed, 0 insertions, 0 deletions