Merge branch 'kb_development' into kb_migration
This commit is contained in:
commit
053fd66e97
2 changed files with 11 additions and 1 deletions
|
@ -81,6 +81,10 @@
|
|||
ol {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
|
||||
sup {
|
||||
vertical-align: super;
|
||||
}
|
||||
}
|
||||
|
||||
.reply-indicator__content {
|
||||
|
|
|
@ -171,9 +171,11 @@ class TextFormatter
|
|||
@markdown ||= Redcarpet::Markdown.new(@htmlobj,
|
||||
autolink: false,
|
||||
tables: false,
|
||||
underline: true,
|
||||
disable_indented_code_blocks: false,
|
||||
fenced_code_blocks: true,
|
||||
strikethrough: true,
|
||||
superscript: true,
|
||||
underline: true,
|
||||
highlight: false
|
||||
)
|
||||
@markdown.render(html)
|
||||
|
@ -196,6 +198,10 @@ class TextFormatter
|
|||
"<p>#{text}</p>"
|
||||
end
|
||||
|
||||
def underline(text)
|
||||
text.include?(':') ? nil : '<u>' + text + '</u>'
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def process_program_code(code)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue