Skip to content
Snippets Groups Projects
Commit 36c97a0e authored by Ole Voldsæter's avatar Ole Voldsæter
Browse files

bruk <mark> for "ordform"

parent 1a4cec7b
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ export default {
unparsed: function(){
return this.body.items.map(
function(item){
if (item.type_ == 'usage') return {type: item.type_, html: item.text}
if (item.type_ == 'usage') return {type: item.type_, html: item.text, tag: 'mark'}
else if (item.type_ == 'article_ref') return {
type: item.type_,
html: '',
......@@ -71,10 +71,14 @@ export default {
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
span.usage, span.pronunciation {
.usage, .pronunciation {
font-style: italic;
}
mark {
background: #ffffff;
}
span.language {
font-weight: bold;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment