-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some code not work on master branch #9
Comments
and if so? p.s. if the function returns a boolean, why not specify how |
Code that you suggest do not work either, it is displayed "as is" into browser. Guess regexpr do not catch it somehow, but i'm not good with regexpr and cannot fix it :) |
Is there no new line in the code? |
The file you have compressed it will not handle the embedded code. If you want the code to be processed, do not compress it in .gz |
I compress it because github do not allow me to upload .html file - it is just an .html file |
OK, I'll check later. |
I checked. The readline () problem in the documentation says that it reads 1024 bytes, but it turns out that 256 bytes |
Update the firmware, in the new version this problem was eliminated. I just checked it. |
Thank you, I will stick to dev release. |
I have this code in an .html file (and few similar lines, all not working):
<?lua local a=frj("listtitle") if a~=false then return ('<h2>Пълен списък на таговете с описание:</h2><a style="font-weight:bold;" href="fulllist.html">'..a.lt..'</a>') else return('<h2>Няма генериран списък</h2>')end?>
on dev nodemcu release all works fine, but on master branch line is displayed "as is" from the browser. Web server do not catch it to execute as lua code. Short lines works, not sure where the problem is.
The text was updated successfully, but these errors were encountered: