變更

增加 17 位元組 、 2014年11月25日 (二) 23:42
無編輯摘要
行 115: 行 115:  
args = { name = 'noteTA-' .. hash },
 
args = { name = 'noteTA-' .. hash },
 
} .. tostring( mw.html.create( 'div' )
 
} .. tostring( mw.html.create( 'div' )
:attr( 'id', 'noteTA-' .. hash )
+
:attr( 'id', string.format( 'noteTA-%x', hash ) )
 
:attr( 'class', 'noteTA' )
 
:attr( 'class', 'noteTA' )
 
:wikitext( code ) )
 
:wikitext( code ) )
匿名使用者