BUG: PHP tag inside script tag won't be beautiful as normal

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.

  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;

BUG: PHP tag inside script tag won't be beautiful as normal

Postby lwmirkk » Thu Jan 05, 2023 9:46 pm

Example:
Code: Select all
<script type="text/javascript">window.history.pushState({},"","/path/<?php echo $something;?>");</script>


The variable is detected, but the code is not beautiful as expected.
lwmirkk
 
Posts: 3
Joined: Wed Jan 04, 2023 7:00 pm

Re: BUG: PHP tag inside script tag won't be beautiful as nor

Postby lwmirkk » Wed Jan 11, 2023 8:23 pm

Same thing happen if PHP tag is inside CSS code.
But in this case, the PHP code is recognized as CSS class name.
lwmirkk
 
Posts: 3
Joined: Wed Jan 04, 2023 7:00 pm

Re: BUG: PHP tag inside script tag won't be beautiful as nor

Postby stetsonfiction » Wed Jul 12, 2023 6:07 am

Is it intended to support the CakePHP PHP Framework?
Cake is my favorite, and I use it almost exclusively.
stetsonfiction
 
Posts: 1
Joined: Wed Jul 12, 2023 6:05 am

Re: BUG: PHP tag inside script tag won't be beautiful as nor

Postby spawnerjeer » Mon Apr 01, 2024 4:55 am

The same outcome occurs if a PHP element is inserted into CSS.
spawnerjeer
 
Posts: 1
Joined: Mon Apr 01, 2024 4:54 am


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Support

Who is online

Users browsing this forum: yenowe3251 and 17 guests