(SOLVED)Publish page bug?
(SOLVED)Publish page bug?
Hi!!
We use the new programming language harbour and run on apache, just like php, you can embed code in web pages.
PHP usage is <?php .... ?>
harbour to use <?prg ...?>
When I publish HTML, WYSIWYG automatically changes my <?prg ... ?> to <?phprg ... ?>
Can it be corrected?
We use the new programming language harbour and run on apache, just like php, you can embed code in web pages.
PHP usage is <?php .... ?>
harbour to use <?prg ...?>
When I publish HTML, WYSIWYG automatically changes my <?prg ... ?> to <?phprg ... ?>
Can it be corrected?
Last edited by ssbbstw on Sat Sep 04, 2021 1:54 pm, edited 1 time in total.
I'm come from Taiwan.
Re: Publish page bug?
There is currently no support for harbour, so the software does not understand this syntax.
But I think error is related to the HTML formatting. If you set it to the formatting to 'default' then it should work.
But I think error is related to the HTML formatting. If you set it to the formatting to 'default' then it should work.
Re: Publish page bug?
It's okay if you don't know harbour.
However, it should be output according to the source code, right?
What is the default format?
How to set it up?
I'm come from Taiwan.
Re: Publish page bug?
Tools>Options>HTML then Formatting at bottom of HTML section (the dropdown which you may have set to beautify or minify)
Re: Publish page bug?
You can change the formatting in Tools -> Options -> HTML. The first option is 'Default'
If the software does not know the syntax of an unknown programming language then it cannot format it.
If the software does not know the syntax of an unknown programming language then it cannot format it.
Re: Publish page bug?
The default value is 'beautify'. I now try to modify it to 'default'. The output html is normal!
However, the 'beautify' and 'minify' format cannot be used in this way!
Will the developers can solve this problem?
I'm come from Taiwan.
Re: Publish page bug?
The default value for new projects is 'default', not 'beautify'The default value is 'beautify'. I now try to modify it to 'default'. The output html is normal!
Correct, because the software does not know anything about harbour so it does not know what to do with the code.However, the 'beautify' and 'minify' format cannot be used in this way!
Note that this is not a 'bug', there is no way to implement support for all unknown languages.
But I will investigate if support for harbour can be added in the future.
Re: Publish page bug?
Thank you for your answer also looking forward to come up with a good solution to this problem!Pablo wrote: ↑Sat Aug 21, 2021 3:34 pmThe default value for new projects is 'default', not 'beautify'The default value is 'beautify'. I now try to modify it to 'default'. The output html is normal!
Correct, because the software does not know anything about harbour so it does not know what to do with the code.However, the 'beautify' and 'minify' format cannot be used in this way!
Note that this is not a 'bug', there is no way to implement support for all unknown languages.
But I will investigate if support for harbour can be added in the future.
I'm come from Taiwan.
Re: Publish page bug?
Today I upgade to v16.4.3 and test it and modify HTML config format to 'beautify', found a problem:
This screen preview source code does not seem to be correct.
This screen preview source code does not seem to be correct.
I'm come from Taiwan.
Re: Publish page bug?
What is the exact problem?
Do you have a demo project?
Maybe you have enabled 'remove PHP from preview'?
Do you have a demo project?
Maybe you have enabled 'remove PHP from preview'?
Re: Publish page bug?
Yes!! Thank you!
Now I unchacke 'Remove PHP code during preview' and all right!!
Now I unchacke 'Remove PHP code during preview' and all right!!
I'm come from Taiwan.