Try using "Template" action and construct your text with hyerlinks than paste it to page.
Other option is to create simple LOCAL html page somewhere on your hard disk with
desired text and links, than open that local html page in another tab in BAS and than copy
from that tab to the tab where you are working.
Запрещенные символы в действии Шаблон.
-
Здравствуйте. А какие еще запрещенные символы в Шаблоне, кроме [ ] { } | ? Эти сделал заменой на всякие ### &&&. Но все равно выдает SyntaxError: Parse error.
Пишу конфиг nginx, если что, вот такой:
server &&& listen 1.2.3.4:80; server_name {{domains}} ; root /home/admin/web/{{domains}}/public_html; index index.php; access_log off; error_log /dev/null; location / &&& include /etc/nginx/block.txt; if (!-e $request_filename) &&& rewrite ^(.*)$ /index.php last; break; ^^^ location ~* ^.+\.(jpeg***jpg***png***gif***bmp***ico***svg***css***js)$ &&& expires max; ^^^ location ~ <^/>\.php(/***$) &&& fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; if (!-f $document_root$fastcgi_script_name) &&& return 404; ^^^ fastcgi_pass 127.0.0.1:[[GLOBAL:PORT]]; fastcgi_index index.php; include /etc/nginx/fastcgi_params; ^^^ ^^^ location ~* "/\.(htaccess***htpasswd)$" &&& deny all; return 404; ^^^ include /home/admin/conf/web/nginx.{{domains}}.conf*; ^^^ -
@seoshnek проблема в [[GLOBAL:PORT]] - удалите и ошибки не будет
Попробуйте с глобальными переменными вот так:
Получить глобальную переменную
JSON.parse(P("basglobal", "TEXT"))Установить глобальную переменную
var val = JSON.stringify("8080"); PSet("basglobal", "TEXT", val)