Fix Bug 501. The key fix is the first line in funciton wordTemplate() from word_operation.js, i.e., using double quotes instead of single quotes. #183

Merged
mrlan merged 1 commits from Bug501-Hui into Alpha-snapshot20240618 2024-09-04 15:17:24 +08:00
There is no content yet.
mrlan added 1 commit 2024-09-04 15:16:29 +08:00
mrlan reviewed 2024-09-04 15:17:06 +08:00
@ -96,3 +100,3 @@
function wordTemplate(word) {
// 这个模板应当与 templates/userpage_get.html 中的 <p id='p_${word.word}' class="new-word" > ... </p> 保持一致
return `<p id='p_${word.word}' class="new-word" >
return `<p id="p_${word.word}" class="new-word" >
Poster
Owner

This is the key part for fixing the bug, i.e., using double quotes instead of single quotes.

This is the key part for fixing the bug, i.e., using double quotes instead of single quotes.
mrlan merged commit fe1d4c29ff into Alpha-snapshot20240618 2024-09-04 15:17:24 +08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mrlan/EnglishPal#183
There is no content yet.