Строка 250: |
Строка 250: |
| | | |
| if view == 'скобки' then | | if view == 'скобки' then |
| + | local comment = description |
| + | |
| + | if term_type == 'литература' then |
| + | comment = term_to_show .. origin |
| + | end |
| + | |
| if isempty(style) then | | if isempty(style) then |
− | text = text .. ' [' .. description .. ']' | + | text = text .. ' [' .. comment .. ']' |
| else | | else |
− | text = text .. ' <span style="color: gray;">[' .. description .. ']</span>' | + | text = text .. ' <span style="color: gray;">[' .. comment .. ']</span>' |
| end | | end |
| end | | end |