< br > tag not working?

A word from our sponsor:

Printer-friendly version

Author: 

Caution: 

A few hours ago, I posted the 3rd chapter of The Bride's Groom and I noticed that the text in my blockquote doesn't skip a line. So I added the < br > tag and it didn't work. I thought that it's just because the blockquote coding kills internal tags, so I let it go. But then I also notice that the br tags I put at the end of the chapter also doesn't work.

Can anyone tell me what I did wrong? Or any other way I can make fix the spacing in the blockquote and the end of my chapter?

BTW, the CAUTION: Language is mostly for the lulz. I'm just bored. Please remove it if the moderators think it's inappropriate.

Comments

br tag

erin's picture

Not sure, but I think you have to use <br /> to make it work.

If that doesn't work, try putting a %nbsp; in front of the <br /> (using an & instead of the %). Looks like that is working below.

 
 

= Give everyone the benefit of the doubt because certainty is a fragile thing that can be shattered by one overlooked fact.

BR HTML Tag

Puddintane's picture

It’s certainly true that < br > is malformed, and actually shouldn’t be recognised by any engine that purports to support any particular HTML standard.

On the other hand, the engine quite definitely ignores HTML standards in at least one respect*, in that the HTML standards require that all "white-space" characters (which include both spaces and carriage returns) should be collapsed into a single space and otherwise ignored. Unless the engine has changed drastically (and it doesn’t appear to have changed all that much) it shouldn’t be necessary to use <br /> tags at all, unless one wants to ensure that one’s story is readily publishable as an ‘e-book’ at some later date. (This isn’t a bad idea, and might well save quite a lot of tedious editing later on.)

Just a thought...

Jabberwocky

by Lewis Carroll

’Twas brillig, and the slithy toves
    Did gyre and gimble in the wabe:
All mimsy were the borogoves,
    And the mome raths outgrabe.

“Beware the Jabberwock, my son!
    The jaws that bite, the claws that catch!
Beware the Jubjub bird, and shun
    The frumious Bandersnatch!”

He took his vorpal sword in hand;
    Long time the manxome foe he sought—
So rested he by the Tumtum tree
    And stood awhile in thought.

And, as in uffish thought he stood,
    The Jabberwock, with eyes of flame,
Came whiffling through the tulgey wood,
    And burbled as it came!

One, two! One, two! And through and through
    The vorpal blade went snicker-snack!
He left it dead, and with its head
    He went galumphing back.

“And hast thou slain the Jabberwock?
    Come to my arms, my beamish boy!
O frabjous day! Callooh! Callay!”
    He chortled in his joy.

’Twas brillig, and the slithy toves
    Did gyre and gimble in the wabe:
All mimsy were the borogoves,
    And the mome raths outgrabe.

You’ll note, I’m sure, that the ‘engine’ currently inserts a bit of extra space between lines in certain circumstances – technically, called ‘leading,’ which helps with one formatting problem whilst causing minor problems with text that ought to be left alone, like a formatted poem. Once one starts tweaking standards, irritating behaviour happens. Fine typography requires more precision than mere publishing tools. Everything is a compromise. I dare say many site authors would feel rather hard done by if they were required to submit perfectly accurate HTML encoding when they’d much rather concentrate on telling their story.

-

Cheers,

Puddin'

A tender heart is an asset to an editor: it helps us be ruthless in a tactful way.
--- The Chicago Manual of Style

[redacted]

[redacted] I have spent hours and hours formatting many of my posts.
I have added line breaks such as your example and have also noticed that, since the update, they are not being handled correctly.

I have been in touch with Erin and Piper, and they are aware that the new core is not doing the same as the old core did in this regard. However, I have had no feedback from them as to whether or not there is any progress, if indeed there is any investigation going on.

So I don't believe, given the limited information I have at this moment, that you have done anything wrong. It's just a 'minor' point that needs addressing at some time.

I did a temporary fix by adding a line with a single . at the beginning, this is then treated as a line of text. Hmmm, thought, maybe if I changed the font colour to white, then even the single . wouldn't be visible.
I feel an experiment coming on ..........

Cheers

Julia.

Blank lines

erin's picture

The problem is that the people who wrote what Drupal calls "the filter engine" decided that the little engine that could, could detect excess blank lines and remove them. Because artificial intelligence! Not the engine, the programmers.

Anyway, the only way to fix it is to replace the filter engine and we don't rewrite major parts of the basic software as a matter of principle called, "When the heck would we have the time?"

We keep checking to see if someone else with more resources has rewritten the filter engine to behave more as if people posting things knew what they were doing.

Two major revs ago, back when the site was less busy, I did rewrite part of the filter engine and it caused endless headaches whenever the site was updated.

As for formatting in BC, I format in an offline program, after having figured out which formatting works. Then I copy and paste. Doing major formatting IN BC is asking for a connection failure that wipes out your work.

Hugs,
Erin

= Give everyone the benefit of the doubt because certainty is a fragile thing that can be shattered by one overlooked fact.

L O L - the concept of simultaneity

There was I just typing in my comment as Erin also commented. Maybe I should have ignored the phone call I got in the middle of entering my earlier stuff ..... thanks for the remarks, Erin

Experiment 1

I just edited my large post and changed a few of the br entries to br / - it made not a jot of difference.
Now going to try adding in the non-breaking space code to see what happens then.

J

Experiment 2

I added the non-breaking space bit in front of some of the br entries and in front of some of the br / entries

They both worked, in that they kicked the coding into leaving a blank line.

So there we have a way of doing it, indeed as Erin said.

Now to see if I can add about one hundred and fifty non-breaking space entries into the code, in under an hour of course. *grins*

J

Line padding

shiraz's picture
When I'm using blockquote I add &nbsp; (non-breaking space) where I want the blank line to appear. Shiraz
- - - -

Paperback cover Boat That Frocked.png

br tag

shiinaai's picture

Uwannn, I can't get it to work. I don't know what I did wrong. Can somebody help edit my chapter so I can see how it's done?

The codes on my set up for Bike

Angharad's picture

used to work but don't now, so I just double space my paragraphs, that seems easy enough, even a non-geek like me can do it.

Angharad