Forcing line break

  • JMGilday
    Inactive member
  • Topic Author
  • Member
  • Member
More
13 years 6 months ago #9631 by JMGilday
Forcing line break was created by JMGilday
Hi Ivan,
Our articles have a need to force a line break / return.

When we type:

Line one
Line two
Line three
Line four
Line five
Line six

It comes out:

Line one Line two Line three Line four Line
five Line six

Seems like a little html would solve it, but it's a module vs an article so I can't insert any code.

Ideas?

Kathy

Please Log in to join the conversation.

More
13 years 6 months ago #9648 by ivan.milic
Replied by ivan.milic on topic Re: Forcing line break
Hi,

try

line one<br/>
line two<br/>
line tree<br/>
...

Please Log in to join the conversation.

  • JMGilday
    Inactive member
  • Topic Author
  • Member
  • Member
More
13 years 5 months ago - 13 years 5 months ago #9663 by JMGilday
Replied by JMGilday on topic Re: Forcing line break
Tried that at first, but Joomla removes any HTML coding (br/, p/, i/, b/, li/ etc)




I could probably insert it in ANOTHER file if I knew Where this text is stored.
Attachments:
Last edit: 13 years 5 months ago by JMGilday.

Please Log in to join the conversation.

More
13 years 5 months ago #9677 by ivan.milic
Replied by ivan.milic on topic Re: Forcing line break
Hi,
Newsflash is not our component , it's joomla's component.

You can try to remove trim command from:

modules\mod_newsflash\tmpl\helper.php

and to comment this line in mod_newsflash.php:

$layout = JFilterInput::clean($layout, 'word');

It seams to me that first one removes \n - new line , and second strips tags.

Please Log in to join the conversation.

Time to create page: 0.156 seconds
Powered by Kunena Forum