Module:Citation/CS1: Difference between revisions

COinS issue explained on talk
m>Wikid77
(fixed final double-dot by "string.sub(idcommon,-1,-1)" which had "-1,1".)
m>Dragons flight
(COinS issue explained on talk)
Line 880: Line 880:
     text = z.mw.text.tag({name="span", contents=text, params=args})
     text = z.mw.text.tag({name="span", contents=text, params=args})


     local OCinS = z.mw.text.tag({name="span", contents=" ", params={class="Z3988",title=OCinStitle,style="display: none;"}})  
     local empty_span = z.mw.text.tag( {name="span", contents=" ", params={style="display: none;"}} );
   
    -- Note: Using display: none on then COinS span breaks some clients.
    local OCinS = z.mw.text.tag({name="span", contents=empty_span, params={class="Z3988",title=OCinStitle }})  
          
          
     return text .. OCinS
     return text .. OCinS
Anonymous user