mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12:21 -04:00
Merge pull request #12 from kieranclancy/master
This fixes a furigana bug
This commit is contained in:
commit
c0423e80b7
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
import re
|
import re
|
||||||
from anki.hooks import addHook
|
from anki.hooks import addHook
|
||||||
|
|
||||||
r = r' ?([^[]+?)\[(.+?)\]([^ ]+?|$)'
|
r = r' ?([^ >]+?)\[(.+?)\]'
|
||||||
ruby = r'<ruby><rb>\1</rb><rt>\2</rt></ruby>'
|
ruby = r'<ruby><rb>\1</rb><rt>\2</rt></ruby>'
|
||||||
|
|
||||||
def noSound(repl):
|
def noSound(repl):
|
||||||
|
|
Loading…
Reference in a new issue