diff --git a/src/components/DefElement.vue b/src/components/DefElement.vue index 77fd070ab3bf579b192092f348fe78d9efbfb340..382b03498dfa266c5e92dd95687edfb4e2e1f49e 100644 --- a/src/components/DefElement.vue +++ b/src/components/DefElement.vue @@ -60,7 +60,7 @@ export default { source: path } else if (item.type_ == 'pronunciation') return {type: item.type_, html: item.string} - else if (item.type_ == 'pronunciation_guide') return {type: 'pronunciation_guide', html: replace_grammar_id(item, lang)} + else if (item.type_ == 'pronunciation_guide') return {type: item.type_, body: item, html: '', tag: 'DefElement', props: {body: item, tag: 'i', dictionary: lang}} else if (item.type_ == 'superscript') return {type: item.type_, html: item.text, tag: 'sup'} else if (item.type_ == 'subscript') return {type: item.type_, html: item.text, 'tag': 'sub'} else if (item.type_ == 'quote_inset') return {type: item.type_, body: item, html: '', tag: 'DefElement', props: {body: item, tag: 'i', dictionary: lang}}