mdc/lib/parsing/parser_handler.rb
##
# Special case when a code fragment starts with a single star (can happen
# with css). In this case we need to avoid the detection of the code
# as a ul2
# @param [ParserState] ps State of the parser
# @param [MarkdownLine] line Line of input
Special case when a code fragment starts with a single star (can happen
with css). In this case we need to avoid the detection of the code
as a ul2
Special case when a code fragment starts with a single star ( can happen with css ) . In this case we need to avoid the detection of the code as a ul2
def code_with_stars(ps, line)
      str_line = line.string
      str_line = str_line[4..-1] if str_line.length > 4
      element(ps) << str_line
    end
def code_with_stars ( ps , line ) str_line = line . string str_line = str_line [ 4 .. - 1 ] if str_line . length > 4 element ( ps ) << str_line end
Special case when a code fragment starts with a single star (can happen
with css).
Special case when a code fragment starts with a single star ( can happen with css ) .
ps
<not_specific>
line
<not_specific>
<not_specific>
line Line of input
line Line of input