Closed niauah closed 2 years ago
04e183e 解決
錯誤原因是 \x
hō͘ escape--去
Scenario Outline: Kiám html hó-sè. -- @1.2 標記正確 # phiaua/features/clean_khaugitiau.feature:76
Given 有一句錄音 # phiaua/features/steps/khaugitiau.steps.py:7 0.001s
When 漢字是 真重要 ,口語調是 <p><span class="lui-1">tsin</span>\xa0<span class="lui-1">tiōng</span>-<span class="lui-2">iàu</span></p> # phiaua/features/steps/khaugitiau.steps.py:25 0.001s
Then 無顯示錯誤 # phiaua/features/steps/khaugitiau.steps.py:38 0.000s
Assertion Failed: '詞內底的型、音bô平長' != ''
- 詞內底的型、音bô平長
+
: ('真重要', 'tsin\\xa0tiōng-iàu')
>>> print('To-guân\xa0bûn-huà\xa0berh\xa0siū\xa0lâng\xa0khíng-tīng,')
To-guân bûn-huà berh siū lâng khíng-tīng,
可能是TinyMCE新版本問題。
Tī docker ê
python manage.py shell
內底試:有法度對齊。
走BDD結果:
kā kāng款ê漢字、羅馬字khǹg入去shell走:
mā bē對齊失敗。