 # CHR ESCAPING
 #-----------------------------------------------------------------------------------------------------------
 ### TAINT don't keep state here ###
-MKTS.XXX_raw_content_by_ids    = new Map()
-MKTS.XXX_raw_id_by_contents    = new Map()
-MKTS.XXX_command_by_ids        = new Map()
-MKTS.XXX_id_by_commands        = new Map()
-
-#-----------------------------------------------------------------------------------------------------------
-MKTS.XXX_raw_bracketed_pattern = ///
+@XXX_raw_content_by_ids    = new Map()
+@XXX_raw_id_by_contents    = new Map()
+@XXX_command_by_ids        = new Map()
+@XXX_id_by_commands        = new Map()
+
+#-----------------------------------------------------------------------------------------------------------
+@XXX_raw_bracketed_pattern = ///
   (?: ( ^ | [^\\] ) <<\( raw >>               << raw \)>> ) |
   (?: ( ^ | [^\\] ) <<\( raw >> ( .*? [^\\] ) << raw \)>> )
   ///g
-MKTS.XXX_raw_heredoc_pattern = ///
+@XXX_raw_heredoc_pattern = ///
   ( ^ | [^\\] ) <<! raw: ( [^\s>]* )>> ( .*? ) \2
   ///g
-MKTS.XXX_raw_id_pattern      = ///
+@XXX_raw_id_pattern      = ///
   \x11 ( [ 0-9 ]+ ) \x13
   ///g
-MKTS.XXX_command_id_pattern  = ///
+@XXX_command_id_pattern  = ///
   \x12 ( [ 0-9 ]+ ) \x13
   ///g
-MKTS.XXX_command_pattern = ///
+@XXX_command_pattern = ///
   ( ^ | [^\\] )
   (
     <<

  return R

#-----------------------------------------------------------------------------------------------------------
MKTS.$XXX_expand_commands = ( text ) ->
  return $ ( event, send ) =>
    #.......................................................................................................
    if @.select event, '.', [ 'text', 'code', 'comment', ]

          send [ left_fence, name, stretch, ( @copy meta ), ]
        else
          send [ type, name, stretch, ( @copy meta ), ]
    #.......................................................................................................
    else
      send event

#-----------------------------------------------------------------------------------------------------------
@$XXX_unescape_raw_spans  = ( state ) ->
  return $ ( event, send ) =>
    if @.select event, '.', [ 'text', 'code', 'comment', ]
      [ type, name, text, meta, ] = event
