This commit is contained in:
Alex Kotov 2024-02-25 12:36:04 +04:00
parent 9a7f8bac53
commit 21629ff8a6
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -14,11 +14,11 @@ module Repubmark
# Basic methods # # Basic methods #
################# #################
def to_summary_plain = "«#@str»".freeze def to_summary_plain = "«#{@str}»".freeze
def to_html = "<code>#{CGI.escape_html(@str)}</code>".freeze def to_html = "<code>#{CGI.escape_html(@str)}</code>".freeze
def to_gemtext = "«#@str»".freeze def to_gemtext = "«#{@str}»".freeze
private private