Implementing <pre> tag. <code> tag is still buggy.
This commit is contained in:
parent
636c3521a0
commit
aab74d3ef2
1 changed files with 13 additions and 0 deletions
|
|
@ -83,4 +83,17 @@ transform_map = {
|
|||
}
|
||||
},
|
||||
|
||||
'pre': {
|
||||
'replace_with': 'text:p',
|
||||
'attributes': {
|
||||
'style-name': 'Preformatted_20_Text'
|
||||
}
|
||||
},
|
||||
|
||||
'code': {
|
||||
'replace_with': 'text:span',
|
||||
'attributes': {
|
||||
'style-name': 'Preformatted_20_Text'
|
||||
}
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue