wrong formatting issue - saving css file as asp.
-
Hi,
I have a method of obfuscating some document based on referer (so this is all technical and I won’t go into detail)
it required css and js (javascript) file to be saved with double extention like .css.asp and .js.asp
problem is the formating of such file inside Notepad++it is interpreted by NPP as ASP file while it is Javascript or CSS code. only a small header inside the file wich start with <% and end with %> (asp html tag) are around the header.
so 3 problem is related to this way of using CSS, JS with NPP.`
- CSS and JS code is not formatted properly
- code inside the ASP tag is not formatted properly eitheir
- for some reason, the closing ASP tag %> got a font size raise of 2 pts.
any way I could go around this ?
I was thinking along the line:
#1. a configurable text file with 2 column ( comma separated or otherwise) wich would contain the full file name on the left and the expected rendered type on the right
#2. an option that would always render text inside asp tag <% %> as asp formatting as long as the source file name has the the end extention .asp ?#2 would be pretty logical… and practical, although could be added as “option”
#1 would be very very nice to have !I have donated in the past… I’ll do it again. I know that’s not what will have me get the fonctionality, I’m just saying because I think your program deserve more credit.
thanks all.