src/js/locale/normalize.js
function( context, target ) {
    var method = target ? 'qsa' : 'tag'
    var target = target || 'em'
    var $target = $[ method ]( target, context )

    $target
    .forEach(function( elem ) {
      var $elem = Han( elem )

      if ( Locale.support.textemphasis ) {
        $elem
        .avoid( 'rt, h-char' )
        .charify({ biaodian: true, punct: true })
      } else {
        $elem
        .avoid( 'rt, h-char, h-char-group' )
        .jinzify()
        .groupify({ western: true })
        .charify({
          hanzi:     true,
          biaodian:  true,
          punct:     true,
          latin:     true,
          ellinika:  true,
          kirillica: true
        })
      }
    })
  }
function( context, target ) {
    var method = target ? 'qsa' : 'tag'
    var target = target || 'em'
    var $target = $[ method ]( target, context )

    $target
    .forEach(function( elem ) {
      var $elem = Han( elem )

      if ( Locale.support.textemphasis ) {
        $elem
        .avoid( 'rt, h-char' )
        .charify({ biaodian: true, punct: true })
      } else {
        $elem
        .avoid( 'rt, h-char, h-char-group' )
        .jinzify()
        .groupify({ western: true })
        .charify({
          hanzi:     true,
          biaodian:  true,
          punct:     true,
          latin:     true,
          ellinika:  true,
          kirillica: true
        })
      }
    })
  }
function ( context , target ) { var method = target ? 'qsa' : 'tag' var target = target || 'em' var $target = $ [ method ] ( target , context ) $target . forEach ( function ( elem ) { var $elem = Han ( elem ) if ( Locale . support . textemphasis ) { $elem . avoid ( 'rt, h-char' ) . charify ( { biaodian : true , punct : true } ) } else { $elem . avoid ( 'rt, h-char, h-char-group' ) . jinzify ( ) . groupify ( { western : true } ) . charify ( { hanzi : true , biaodian : true , punct : true , latin : true , ellinika : true , kirillica : true } ) } } ) }
Traverse all target elements to render emphasis marks.
Traverse all target elements to render emphasis marks .