How can we DISABLE the Bluegriffon "automatic background modifications" of my html code ???

1,913 views
Skip to first unread message

a.u.e-g.

unread,
Jul 5, 2011, 1:34:55 PM7/5/11
to bluegriffon
Hello,
How can I disable the hidden automatic modification of the code when I
load html file ?

Here is why, an example:

I have an html file which is used by an external PHP file.
So the content of this file looks as simple like this:
-----
<!-- CONTENT EMBEDDED IN PAGE events.php -->
<div style="font-size:14px; color:black;font-weight:bold;">My Events</
div>
<br>
<p>Blablabla</p>
-----
No need of other code (no html, no body... all these are already
defined in php file...)

BUT, when I open it with BlueGriffon and go to "Source" view , BG has
modified it automatically as the following:
-----
<!-- CONTENT EMBEDDED IN PAGE events.php -->
<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
</head>
<body>
<div style="font-size:14px; color:black;font-weight:bold;">My Events</
div>
<br>
<p>Blablabla</p>
</body>
</html>
-----

Ouch !
BG adds automatically a lot of code : <html>, <body> and an awful
<meta http-equiv...> which is set wrongly to "UTF-8" as my PHP file
already define a "content-type" to "ISO-8859-1"...

==> So my simple question: How can I disable definitively this
automatic "correction" of my code made by BG in background ??? My code
is correct, no need for BG to check it and modify it without my
consent !!!

This is a real important issue... Please help asap...

Thanks for your help.

BR,
David.

Daniel Glazman

unread,
Jul 8, 2011, 3:58:53 AM7/8/11
to blueg...@googlegroups.com
Le 05/07/11 19:34, a.u.e-g. a �crit :

BlueGriffon is a HTML/XHTML editor. Not a PHP editor. Your document
with no root element and no doctype is not conformant to the various
html specs. So BlueGriffon adds - and will always add - the missing
tags. Sorry, nothing I can (and nothing I want to) do here.

</Daniel>

Jeremy Crabtree

unread,
Aug 23, 2011, 11:39:06 AM8/23/11
to bluegriffon
This is bad behavior.

It also strips tags, too.

Add me as another request for some way to disable this. It makes it
impossible to use templates and saved code snippets. If I save a part
of page, say the inner portion of a table, to re-use later, when I
open the file in BG all the tr and td tags are automatically stripped
(due, I presume, to them not being enclosed in a table tag). This is
how I discovered this behavior. I wrote a quick program to generate
the inner portion of a table, I wanted to paste this into another
file, but BG stripped all the td/tr tags (and reformatted the
remaining code as well) without asking.

A built-in validator is nice feature, but a built-in auto-correct that
can't be disabled is patronizing to the user and can be a real
impediment to productivity. If it doesn't validate, tell me where and
why and let me decide if it needs to be fixed, don't just silently
whack my code around behind my back.

On Jul 8, 2:58 am, Daniel Glazman <daniel.glaz...@gmail.com> wrote:
> Le 05/07/11 19:34, a.u.e-g. a crit :
>
>
>
>
>
>
>
>
>
> > Hello,
> > How can I disable the hidden automatic modification of the code when I
> > load html file ?
>
> > Here is why, an example:
>
> > I have an html file which is used by an external PHP file.
> > So the content of this file looks as simple like this:
> > -----
> >    <!-- CONTENT EMBEDDED IN PAGE events.php -->
> >    <div style="font-size:14px; color:black;font-weight:bold;">My Events</
> > div>
> >    <br>
> >    <p>Blablabla</p>
> > -----
> > No need of other code (no html, no body... all these are already
> > defined in php file...)
>
> > BUT, when Iopenit with BlueGriffon and go to "Source" view , BG has
> >modifiedit automatically as the following:

Jeremy Crabtree

unread,
Aug 24, 2011, 9:56:31 AM8/24/11
to bluegriffon
It's a useless editor if it modifies the content of a file when the
merely opens it. This bit me too, and ultimately left me unable to
use BG. There may be a (pragmatic) reason a user needs to edit a file
that doesn't validate, or contains non-standard markup. The correct
behavior is to warn the user and show them where the problem is.
Silently "fixing" things in the background just means your tool cannot
be trusted.

tl; dr: me too! It would make BG far more useful is this were an
optional feature.


On Jul 8, 2:58 am, Daniel Glazman <daniel.glaz...@gmail.com> wrote:
> Le 05/07/11 19:34, a.u.e-g. a crit :
>
>
>
>
>
>
>
>
>
> > Hello,
> > How can I disable the hidden automatic modification of the code when I
> > load html file ?
>
> > Here is why, an example:
>
> > I have an html file which is used by an external PHP file.
> > So the content of this file looks as simple like this:
> > -----
> >    <!-- CONTENT EMBEDDED IN PAGE events.php -->
> >    <div style="font-size:14px; color:black;font-weight:bold;">My Events</
> > div>
> >    <br>
> >    <p>Blablabla</p>
> > -----
> > No need of other code (no html, no body... all these are already
> > defined in php file...)
>
> > BUT, when Iopenit with BlueGriffon and go to "Source" view , BG has
> >modifiedit automatically as the following:

Bernie Lee

unread,
Aug 28, 2011, 12:30:22 PM8/28/11
to blueg...@googlegroups.com
I thought it was just me since I had trouble getting the addons to take.
I was told everyone else go them to work. I reformatted my hard drive hoping that would help.

I still don't understand how the toolkit works.
Plus I had no idea that there was an icon in the lower right to create the split screen option until someone mentioned it in a post.

So I've been totally confused blaming problems on my inability to understand this software.

I don't want to discourage the development, but I wish there were some user documentation for dummies.

Eventually I upgraded my Adobe Web Premium to 5.5, but I would love to find an alternative to Adobe.
What I've spent on Adobe in the last few years could buy me a nice used car.
--
There are 5 things in life you cannot recover: A stone... after it's thrown. A word... after it is said. An occasion... after it's missed. The time... after it's gone. A person... after they die. Life is short. Break the rules. Forgive quickly. Love truly. Laugh uncontrollably. And never regret anything that made you smile! Enjoy Life!!!
Message has been deleted

as400help

unread,
Sep 1, 2011, 11:52:47 AM9/1/11
to bluegriffon
This editor is reformatting my code, deleting intentional white space,
and stripping out functional lines of code and causing web pages to
display incorrectly. It's too bad because it has/had a lot of promise.
Any other editor that I've ever used has OPTIONS to allow one to make
decisions about how to handle formatting. There were no options about
whether or not to allow automatic and unsolicited DELETION of lines of
text, though. Nothing you want to do about it, huh? Bye, bye,
BlueGarbler.

On Jul 8, 2:58 am, Daniel Glazman <daniel.glaz...@gmail.com> wrote:

Vinnie Costante

unread,
Sep 6, 2011, 8:26:48 AM9/6/11
to bluegriffon
strange silences, we sleep here?
I created the package for a distribution, it will probably be the last
time.

Dominik Lenné

unread,
Sep 7, 2011, 8:51:03 AM9/7/11
to bluegriffon
Emotions going high here lately with a couple of guys slamming the
door behind them.

To put it in a less emotional way: the current choice of options
confines the area of use of BG considerably.

Dominik Lenné

WyattB

unread,
Sep 13, 2011, 9:46:54 PM9/13/11
to bluegriffon
I was evaluating BF and thought looked pretty cool and was ready to
buy the addins. But this is an absolute show stopper.

What if I wanted to do this?

index.html
---------------
<html>
<body>

<?php
require_once('heading.html');

$showpg=$_GET['pg'];
switch ($shwopg){
case 1:
require_once('content1.html');
break;
case 2:
require_once('content2.html');
break;
case 3:
require_once('content3.html');
break;
}

require_once('footer.html');
?>

</body>
</html>

Includes are fact of programming. I could do this with complicated
ajax, but why make 3 requests when I can have php embed the html. And
why do I have to put javascript in CDATA tags. Purity is only good in
the academic world. The real world is not so pure.
Reply all
Reply to author
Forward
0 new messages