EnglishPal/app
王志豪 e10dbf9d67 Bug507-WuWenZhuo (#70)
### 修复了生词簿为空时,双击文章单词无法高亮的问题
通过增加一个判断,判断生词簿为空时,不把生词簿的内容进行处理,仅处理选中单词。

### 修复了生词簿为空时,取消高亮后,导致文章格式混乱的问题
原代码中,从数据库提取文章放到网页上时,使用的是.innerText的方法,导致原文章里包含的<br>标签丢失,导致文章格式混乱的问题。

Co-authored-by: unknown <Alcatraz@qq.com>
Co-authored-by: Hui Lan <lanhui@zjnu.edu.cn>
Reviewed-on: http://121.4.94.30:3000/mrlan/EnglishPal/pulls/70
Co-authored-by: 王志豪 <1594799762@qq.com>
Co-committed-by: 王志豪 <1594799762@qq.com>
2023-01-29 12:48:52 +08:00
..
layout/partial Repalce old app folder with SoftArch王炫/english-pal-master/app/ 2022-01-26 21:10:09 +08:00
static Bug507-WuWenZhuo (#70) 2023-01-29 12:48:52 +08:00
templates Bug521-LiYuFeng-Refactor (#72) 2023-01-29 12:01:19 +08:00
test [REFACTOR] user_service.py: Added id to user name, word and frequency for click to execute AJAX request in JS (#30) 2022-07-18 13:29:04 +08:00
Article.py 更新 'app/Article.py' 2022-06-11 23:20:41 +08:00
Login.py Bug525-Hui (#79) 2023-01-29 10:57:58 +08:00
UseSqlite.py Use named style for sqlite3 execute() 2022-01-27 17:01:03 +08:00
WordFreq.py Publish EnglishPal source code 2021-04-06 16:22:03 +08:00
Yaml.py build.sh: deploy the new code 2022-02-05 22:59:45 +08:00
account_service.py Bug490-ChenQiuwei (#63) 2023-01-29 11:49:27 +08:00
difficulty.py requirements.txt includes dependencies of the program. difficulty.py is modified in this fix. Not sure why build.sh is included. 2021-08-20 19:27:44 +08:00
main.py Escape user input first 2022-07-29 15:22:42 +08:00
pickle_idea.py Update pickle_idea.py 2021-05-31 08:48:03 +08:00
pickle_idea2.py 添加删除单词功能 2021-05-30 21:30:18 +08:00
user_service.py Bug525-Hui (#79) 2023-01-29 10:57:58 +08:00
wordfreqCMD.py 加入生词库过滤| 2022-12-06 17:02:59 +08:00