How to enter a inline php snippet?

I am new to Blocs and I am trying to find out how to enter php code on sited created with blocs. I have familiarized myself with the code widget and it works fine to use it, but I also need to enter dynamic content inline.

For example, I would like to enter the following, inline in blocs, no widget

<p>
Price for product A is <?= $priceA?><br>
Price for product B is <?php echo $priceB; ?><br>
</p>

but when exported, blocs convert the characters to html entities:

<p>
Price for product A is &lt;?= $priceA?><br>
Price for product B is &lt;?php echo $priceB; ?><br>
</p>

Is it somehow possible to disable the character conversion?

Kind regards
Lennart

have you tried setting your page type as PHP instead of HTML in the page settings?

Yep I have. Pages do work with php and the code widget.

The only solution I’ve found after exporting and revert back conversion to html entities is using a shell script with sed:

Fixing “<”:

cd <your_exported_bloc_project>
find . -type f -name "*.php" -print0 | xargs -0 sed -i '' -e 's/&lt\;/</g'

Fixing “&”:

cd <your_exported_bloc_project>
find . -type f -name "*.php" -print0 | xargs -0 sed -i '' -e 's/&amp\;/\&/g'

Blocs’s side, an option to disable converting special characters in code widgets should be available IMHO.