Comments (10)
<?lua local a=frj("listtitle") local r if a~= false then r='<h2>Пълен списък на таговете с описание:</h2><a style="font-weight:bold;" href="fulllist.html">'..a.lt..'</a>' else r='<h2>Няма генериран списък</h2>' end return r?>
and if so?
p.s. if the function returns a boolean, why not specify how
if a then ... ?
from dot.
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 :)
(If I execute that one line code into lua console, it works fine)
from dot.
Is there no new line in the code?
Can I look at the whole file?
from dot.
from dot.
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
https://github.com/bondrogeen/web-server/blob/master/doc/en/README.md#restrictions
from dot.
I compress it because github do not allow me to upload .html file - it is just an .html file
from dot.
OK, I'll check later.
from dot.
I checked. The readline () problem in the documentation says that it reads 1024 bytes, but it turns out that 256 bytes
from dot.
Update the firmware, in the new version this problem was eliminated.
I just checked it.
http://nodemcu-build.com/builds/nodemcu-master-19-modules-2018-04-04-15-06-33-integer.bin
This was built against the master branch and includes the following modules: adc, cron, crypto, file, gpio, http, i2c, mqtt, net, node, ow, pcm, pwm, rotary, sjson, spi, tmr, uart, wifi.
from dot.
Thank you, I will stick to dev release.
from dot.
Related Issues (14)
- problem when wifi password is only numbers HOT 3
- more basic script example. HOT 6
- possible memory issue HOT 6
- Memory leak HOT 7
- feature request: file uploading HOT 1
- Adding timer to fix a memory leak
- Javascript fix HOT 1
- not working on latest chrome HOT 1
- web_get.lua HOT 2
- Safari problem HOT 10
- XMLHttpRequest problem on some browsers
- Problem with init_settings.lua HOT 3
- Приветственная страница и админка по другому пути HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dot.