<s> """<STR_LIT>""" <EOL> from __future__ import unicode_literals <EOL> def nofollow ( attrs , new = False ) : <EOL> if attrs [ '<STR_LIT>' ] . startswith ( '<STR_LIT>' ) : <EOL> return attrs <EOL> rel = [ x for x in attrs . get ( '<STR_LIT>' , '<STR_LIT>' ) . split ( '<STR_LIT:U+0020>' ) if x ] <EOL> if not '<STR_LIT>' in [ x . lower ( ) for x in rel ] : <EOL> rel . append ( '<STR_LIT>' ) <EOL> attrs [ '<STR_LIT>' ] = '<STR_LIT:U+0020>' . join ( rel ) <EOL> return attrs <EOL> def target_blank ( attrs , new = False ) : <EOL> if attrs [ '<STR_LIT>' ] . startswith ( '<STR_LIT>' ) : <EOL> return attrs <EOL> attrs [ '<STR_LIT:target>' ] = '<STR_LIT>' <EOL> return attrs </s>
