Jump to content

[BUG]? <pre> tag does not preserve tabs


Tissi_2

Recommended Posts

Hi folks!

Normally the <pre> tag should preserve whitespaces and "tab-spaces", but it does not. Is there a workaround for this issue, maybe with inline style? I do not want to use any ascii character or anything like that. I only want to use spaces and tabs.

Thanks

Tissi

 

Edited by Tissi_2
Link to comment
3 hours ago, Moun10Bike said:

I see only spaces in the <pre> tag in that listing, which from what you have written I assume is the issue. I'm reasonably certain that this is due to the third-party markdown HTML interpreter that we use. I'm afraid that I don't have a solution for you.

Yes, that is the issue. That is really disappointing! Can you do anything about this interpreter, because this interpreter causes several uncommon html behaviours?

2 hours ago, Viajero Perdido said:

Maybe an HTML table would do the job?

Can you give a code example?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...