mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-10 00:57:24 +03:00
ecc3ff3ca4
JS code for torrent general properties, files, peers, trackers inconsistently escaped HTML special characters, then the dynamicTable inconsistently escaped again and then the value was set to HTML element text or html properties. To fix this mess, don't escape any property values in the prop-*.js files. Instead, make dynamicTable set HTML element text instead of html property by default. This behavior can be overridden by setting a custom updateTd function on the respective column, if needed. This is where the HTML escaping should be done. Also reordered existing updateTd functions to match column order, changed custom updateTd functions from setting html to text property wherever possible, removed custom updateTd functions that turned out to be redundant. |
||
---|---|---|
.. | ||
app | ||
base | ||
gui | ||
icons | ||
lang | ||
searchengine | ||
webui | ||
CMakeLists.txt | ||
config.h.cmakein | ||
qbittorrent.exe.manifest | ||
qbittorrent.rc | ||
qbittorrent_mingw.rc | ||
src.pro | ||
update_qrc_files.py |