Изменения

м
Нет описания правки
Строка 264: Строка 264:  
if add_origin   then output_str = output_str ..' '.. origin end
 
if add_origin   then output_str = output_str ..' '.. origin end
 
if add_description then output_str = output_str ..'. – '.. description end
 
if add_description then output_str = output_str ..'. – '.. description end
text = '<span style="border-bottom: 1px dotted gray; cursor: help;" title="' .. output_str .. ' (БТС, ' .. term .. ').">' .. text .. '</span>'   
+
text = '<span style="border-bottom: 1px dotted gray; cursor: help;" title="' .. output_str .. ' (БТС).">' .. text .. '</span>'   
 
end
 
end
 
 
Строка 292: Строка 292:  
 
 
-- DEBUG
 
-- DEBUG
-- text = 'userparam: '.. frame.args['userparam'] ..'\n- text ='.. text_original ..'\n- view ='.. view ..'\n- type ='.. term_type ..'\n- style ='.. tostring(style) ..' ⇒ font_grey ='.. tostring(font_grey) ..'; add_origin ='.. tostring(add_origin) ..'; add_description ='.. tostring(add_description) ..'\n- specification ='.. specification ..'\nOUTPUT: '.. text
+
--text = 'userparam: '.. frame.args['userparam'] ..'\n- text ='.. text_original ..'\n- view ='.. view ..'\n- type ='.. term_type ..'\n- style ='.. tostring(style) ..' ⇒ font_grey ='.. tostring(font_grey) ..'; add_origin ='.. tostring(add_origin) ..'; add_description ='.. tostring(add_description) ..'\n- specification ='.. specification ..'\nOUTPUT: '.. text
-- return  text  
+
--return  text  
    
     return frame:preprocess( text )
 
     return frame:preprocess( text )