RolePlay onLine RPoL Logo

, welcome to RPoL Development

13:56, 20th April 2024 (GMT+0)

PRE tag error, (I think, if not, how do I avoid the issue?)

Posted by DarkLightHitomi
DarkLightHitomi
member, 792 posts
Tue 18 Nov 2014
at 15:20
  • msg #1

PRE tag error, (I think, if not, how do I avoid the issue?)

I tried to make a text map using the preformatted text tags, but it kept turning parts of it into tables whenever I used the "|" character, but I don't want tables.

I think this is a bug because it doesn't make sense to change into tables, but also it doesn't make sense that it would possible by a simple error, so I figure it might be intentional (don't know why it would be though as it kinda defeats the point of preformatted)

So either it is a bug and needs fixed, or it isn't a bug and I need help to get around the issue.
steelsmiter
member, 1217 posts
GURPS, FFd6, Pathfinder
NO FREEFORM!
Tue 18 Nov 2014
at 15:24
  • msg #2

Re: PRE tag error, (I think, if not, how do I avoid the issue?)

"|" is used in easy tables. That's why you keep getting tables. I don't know how to make it not do that, but I use /tt for all my preformatting needs.
This message was last edited by the user at 15:25, Tue 18 Nov 2014.
Utsukushi
member, 1335 posts
I should really stay out
of this, I know...but...
Tue 18 Nov 2014
at 16:55
  • msg #3

Re: PRE tag error, (I think, if not, how do I avoid the issue?)

Easy Tables:
Using a certain combination of vertical pipes and minus symbols will trigger an "easy grid" or "easy table".

The bare minimum for a table is:

| Cell | Cell  | Cell  |
| (the second line starting with a pipe is just enough to trigger the table conversion)


...Which might be almost too easy to use the Easy Tables, but it isn't too hard to avoid, either.  If you just space in your |'s a little bit, and do something unobtrusive like drop a period in front of, well, at least every-other-line to stop it from reading as above, that should work.  Like;

.| Mapstuff | Mapstuff
 | Mapstuff | Mapstuff
.| More Mapstuff


Just empty spaces won't make any difference, though, it'll need like a . or a - or whatever you find least distracting that isn't |.

...Alternately; a little trickier for you, but cleaner for your readers, you can also use [code][/code] inside your pre tags -- that turns off all coding inside of it, so you won't be able to do, you know, anything else, without remembering to toggle that around it too, but it should work.

So:

<pre>[code]
| X |
|   |_____
| Great   |
|  Hall   |
|         |
</pre>[/code]

Returns:
| X |
|   |_____
| Great   |
|  Hall   |
|         |

...With no tabling.

And potentially,
<pre>[code]
| X |
|   |_____
| [/code]<b><blue>Great</blue></b>   |
|  <b><blue>Hall</blue></b>[code]   |
|         |</pre>[/code]

...Can still allow,

| X |
|   |_____
| Great   |
|  Hall   |
|         |
steelsmiter
member, 1218 posts
Tue 18 Nov 2014
at 16:59
  • [deleted]
  • msg #4

Re: PRE tag error, (I think, if not, how do I avoid the issue?)

This message was deleted by the user at 17:00, Tue 18 Nov 2014.
DarkLightHitomi
member, 793 posts
Tue 18 Nov 2014
at 17:57
  • msg #5

Re: PRE tag error, (I think, if not, how do I avoid the issue?)

Cool, thanks :D
Sign In