1
risto
Linebreak Conversion in news
  • 2005/4/15 11:45

  • risto

  • Not too shy to talk

  • Posts: 159

  • Since: 2003/4/16


Sory for bringing this up yet again. you are all probobly very tierd of this.

Im using news 1.3 , xoopseditor-1.2 and XOOPS 2.0.9.2

how can I now turn off the Linebreak Conversion in news module?

2
risto
Re: Linebreak Conversion in news
  • 2005/4/15 15:03

  • risto

  • Not too shy to talk

  • Posts: 159

  • Since: 2003/4/16


anyone intrested in helping me out?

3
ackbarr
Re: Linebreak Conversion in news

your only real option is hacking the text sanitizer class (/class/module.textsanitizer.php)

In function makeTareaData4Show change:
return $this->displayTarea($text$html$smiley$xcode);

to
return $this->displayTarea($text$html$smiley$xcode[color=800000][b], 0[/b][/color]);


Possible side-effects:
Other modules that also use the makeTareaData4Show function to prepare strings for display will also not have their new line characters converted to <br> tags.

4
risto
Re: Linebreak Conversion in news
  • 2005/4/16 8:47

  • risto

  • Not too shy to talk

  • Posts: 159

  • Since: 2003/4/16


Is there no way of dooing the only for news?
if not the I can just implement the editor where needed.

Login

Who's Online

142 user(s) are online (75 user(s) are browsing Support Forums)


Members: 0


Guests: 142


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits