1
kikov
[ code ] tags and URL
  • 2004/5/13 11:59

  • kikov

  • Just popping in

  • Posts: 13

  • Since: 2003/10/2


Hi

Recently I was having a problem with [ code ] blocks...
I think it can be a bug, because the automatic translation into URL break things... an example

Hivisit https://xoops.org


Any solution to this?
I don't want to see the HTML tags there...I think it's a bug...

By the way, I'm using XOOPS 2.0.6 and here it seems to do the same.

BR.

2
kikov
Re: [ code ] tags and URL
  • 2004/5/13 12:01

  • kikov

  • Just popping in

  • Posts: 13

  • Since: 2003/10/2


By the way, I have tried disabling Enable HTML Box

3
Dave_L
Re: [ code ] tags and URL
  • 2004/5/13 12:04

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


You're talking about the fact that the [ code ] tag splits long lines onto two or more lines?

4
kikov
Re: [ code ] tags and URL
  • 2004/5/13 12:05

  • kikov

  • Just popping in

  • Posts: 13

  • Since: 2003/10/2


Not.. see the First Message example...
IT APPEARS the < a ... > tag

5
Dave_L
Re: [ code ] tags and URL
  • 2004/5/13 12:11

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I know there are problems with the [ code ] tag, but I don't understand which problem you're referring to.

6
Mithrandir
Re: [ code ] tags and URL

Your problem is that <a ... > tag is shown in code?
It is meant to do that, since it is a code tag and thus the content should be displayed exactly like it is written.

If that is not your question, then please elaborate.

7
kikov
Re: [ code ] tags and URL
  • 2004/5/13 12:18

  • kikov

  • Just popping in

  • Posts: 13

  • Since: 2003/10/2


Well...

Let see. The example is clear enough to see the problem

[ c o d e ]
Visit my page:https://xoops.org
I have written a URL, without tags... just this ( without spaces )
Visit my page: h t t p : / / w w w . x o o p s . o r g

[ / c o d e ]

What I get, it's a wrong thing

Visit my pagehttps://xoops.org

8
Dave_L
Re: [ code ] tags and URL
  • 2004/5/13 12:42

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I think I understand now. The text within the [ code ] is "decoded", but it should be left intact. That's a known bug in MyTextSanitizer::xoopsCodeDecode.

I don't know of any workaround, but I'd like to see it fixed too.

9
kikov
Re: [ code ] tags and URL
  • 2004/5/13 13:04

  • kikov

  • Just popping in

  • Posts: 13

  • Since: 2003/10/2


Thx a lot...
Do you know if the version in CVS is fixed?

10
Herko
Re: [ code ] tags and URL
  • 2004/5/13 13:16

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


No, this bug has not been fixed yet.

Herko

Login

Who's Online

159 user(s) are online (106 user(s) are browsing Support Forums)


Members: 0


Guests: 159


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