urgent fix 2

This commit is contained in:
mst 2024-09-28 12:20:06 +03:00
parent 432d44fc41
commit c2461c7c1f
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
## 1.5.3
### Fixes
* custom buttons not displaying correctly
## 1.5.2 ## 1.5.2
### Fixes ### Fixes

View file

@ -5,6 +5,6 @@ blacklistFile = 'word_blacklist.txt'
configFile = 'config.json' configFile = 'config.json'
faviconDir = Path.cwd() / 'static' / 'icons' / 'favicon' faviconDir = Path.cwd() / 'static' / 'icons' / 'favicon'
appName = 'CatAsk' appName = 'CatAsk'
version = '1.5.2' version = '1.5.3'
# id (identifier) is to be interpreted as described in https://semver.org/#spec-item-9 # id (identifier) is to be interpreted as described in https://semver.org/#spec-item-9
version_id = '-alpha' version_id = '-alpha'

View file

@ -142,7 +142,8 @@ def renderMarkdown(text):
'button' 'button'
] ]
allowed_attrs = { allowed_attrs = {
'a': 'href' 'a': 'href',
'button': 'class'
} }
# hard_wrap=True means that newlines will be # hard_wrap=True means that newlines will be
# converted into <br> tags # converted into <br> tags