Изменения

Перейти к навигации Перейти к поиску
м
Нет описания правки
Строка 279: Строка 279:  
if view_brackets then
 
if view_brackets then
 
if term_type == 'литература' or term_type == 'личность' then
 
if term_type == 'литература' or term_type == 'личность' then
output_str = term_without_link ..', '.. lifetime_short
+
output_str = term_without_link
 
else -- для 'понятие' и 'выражение'
 
else -- для 'понятие' и 'выражение'
 
output_str = description
 
output_str = description
Строка 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 )
 
end
 
end
    
return ctd
 
return ctd

Навигация