Comments (5)
Is that a html5 document? In html5, CDATA sections can only be used inside foreign elements (mathml, svg, etc).
from bluegriffon.
In html5, CDATA sections can only be used inside foreign elements (mathml, svg, etc).
Ah, you're right. Good to know:
https://www.w3.org/TR/html5/syntax.html#cdata-sections
But look, I don't want to use CDATA. I want to use regular old XML. I'm only using CDATA to get around this horrible, blocker bug #10.
from bluegriffon.
The bug occurs only in XHTML documents ; use html and you'll be fine.
from bluegriffon.
I could use Markdown and be fine, too!!
I want to use XHTML5. Why does everybody have a freakin' problem with that?
from bluegriffon.
The bug occurs only in XHTML documents ; use html and you'll be fine.
This is not true! You're trying to make excuses for a fundamental broken component of BlueGriffon, and your workaround won't work.
Forget XHTML. Let's say I have the following HTML source code, exactly as HTML5 requests for source code. I enter it into the source code view of BG:
<pre><code>public class FooBar {
/** Does Foo.
* <p>Does Bar too!</p>
*/
public void doFoo() {
do {
<mark>foo();</mark>
} while(bar());
}</code></pre>
Note two things:
- I have used character references
<
and>
because I want<p>
to appear in the output and not be recognized as an actual HTML<p>
tag. - I have not used character references for
<mark>
because I want the HTML renderer to recognize this element as a child element of<code>
---that is, to actually highlight the section in question.
In BG I then switch to WYSIWYG view. Then I switch back to source code view. BlueGriffon changes my code to this:
<pre><code>public class FooBar {
/** Does Foo.
* <p>Does Bar too!</p>
*/
public void doFoo() {
do {
<mark>foo();</mark>
} while(bar());
}</code></pre>
This has completely different semantics! Now in the rendered page I have a paragraph in the middle of my source code, which is not what I wanted nor what I entered.
This is 100% broken. BlueGriffon corrupts my content. This is a blocker issue. Why isn't it being fixed for BG 1.8 in Bug #10?
from bluegriffon.
Related Issues (20)
- Can't put in my second license with my second PC
- Assuming this is dead. Alternative? HOT 6
- Component returned failure code: 0x80004005 (NS_ERROR_FAILURE)
- Idea - Ace editor HOT 1
- ./mach build failed HOT 3
- Only empty windows on Mac OS HOT 8
- should I use or not HOT 3
- Feature request - Github integration?
- Cannot create or edit EPUB files
- Error message when switching from source view to WYSIWYG View HOT 1
- Bluegriffon on Windows keeps launching unmaximized
- Big sur void menus HOT 8
- JavaScript with Blockly HOT 1
- OCR from JavaScript HOT 2
- Spaces are overwritten in DualView mode HOT 2
- RFE: Fedora Support !!!!
- Feature request: autosave HOT 3
- mach run failed in macos big sur 11.2.2
- Support Flatpak HOT 1
- dead? HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluegriffon.