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 { ...@@ -29,7 +29,7 @@ export default {
unparsed: function(){ unparsed: function(){
return this.body.items.map( return this.body.items.map(
function(item){ 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 { else if (item.type_ == 'article_ref') return {
type: item.type_, type: item.type_,
html: '', html: '',
...@@ -71,10 +71,14 @@ export default { ...@@ -71,10 +71,14 @@ export default {
<!-- Add "scoped" attribute to limit CSS to this component only --> <!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped> <style scoped>
span.usage, span.pronunciation { .usage, .pronunciation {
font-style: italic; font-style: italic;
} }
mark {
background: #ffffff;
}
span.language { span.language {
font-weight: bold; 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