class Kramdown::Converter::Rfc2629
def nobr_hack(s) # replace this by actual <nobr> once that exists
def nobr_hack(s) # replace this by actual <nobr> once that exists # https://github.com/ietf-tools/xml2rfc/blob/main/xml2rfc/utils.py#L42 s.gsub(/([-\s\/])(?!\s)/) { case rep = $1 when /\A\s\z/ "\u00A0" # nbsp when "-" "\u2011" # nbhy -- XXX this might mangle dashes else "#{rep}\u2060" end } end