Code: Select all
tags, a box won't display; it will just change the text to monospaced font style.
Just a thought on my part.
Thanks.
Code: Select all
tags, a box won't display; it will just change the text to monospaced font style.
Just a thought on my part.
Thanks.
Code: Select all
tag is usually the way to do it. xD
Seib wrote:Just so happens that theCode: Select all
tag is usually the way to do it. xD[/quote] I would not want the code tag to be replaced with this because in its current form it saves us looking at huge walls of text when reading through posts that have long console logs, for example. Let's have this be a new tag please, if Giorgio decides it's worth it. Maybe [v] for verbatim, assuming anything inside those tags should be displayed literally as well as in fixed-width font?
Code: Select all
is not the same as <code> but that [code] is not a nonstandard form of HTML but BBCode? Because I know in a lot of other forums I've participated in, both [code] and <code> puts the text in non-boxed, monospace font style.
Just trying to understand you, that's all.
When the board parses URLs, it automatically truncates long ones.Seib wrote: And, just out of curiosity, what is this truncation bug?
No, square brackets are not HTML, and no browser will recognise them as such. However (perhaps partly because of this), they are commonly used in contexts like this one, where users are allowed to use some limited markup that will be interpreted by the server.I thought the [ ] tags were the same as < > tags. That is, I thought they were both HTML, with the more standard format being < > but like with search engine operators some websites like doing it their own way instead of the standard way.
Are you saying that ...Code: Select all
is not a nonstandard form of HTML but BBCode? [/quote] Yes. [quote] Because I know in a lot of other forums I've participated in, both [code] and <code> puts the text in non-boxed, monospace font style. [/quote] That means the server is choosing to interpret both types. Only angle brackets are HTML.
Best way to explain that is to demonstrate it.Seib wrote:And, just out of curiosity, what is this truncation bug?
Code: Select all
https://groups.google.com/d/msg/mozilla.addons.user-experience/qIgLq28aTdI/IyD2p_CFAEUJ
Seib wrote:And the [v] tag sounds like an okay idea. What's this about the HTML <code> tag, though? Correct me if I'm wrong (and considering your text thus far, I'm probably wrong here), but I thought the [ ] tags were the same as < > tags. That is, I thought they were both HTML, with the more standard format being < > but like with search engine operators some websites like doing it their own way instead of the standard way.
Are you saying thatCode: Select all
is not the same as <code> but that [code] is not a nonstandard form of HTML but BBCode? Because I know in a lot of other forums I've participated in, both [code] and <code> puts the text in non-boxed, monospace font style.[/quote] [ ] = BBCode. < > = HTML. BBCode is just a simplified interface to a limited set of HTML but is otherwise totally unrelated to HTML. It also includes some tags to enclose things in specially preformatted blocks (like code and quote). The HTML5 <code> tag produces inline monospace font exactly like you want. Check out what your sample post would look like with HTML code tag: [quote]data:text/html,Hi.<br><br>What%20does%20the%20Time%20Zone%20setting%20under%20<code>Account%20Details%20>%20General%20>%20Time%20Settings</code>%20mean?%20%20Is%20it%20referring%20to%20GMT%20or%20UTC?<br><br>Thanks.[/quote] (paste that in your URL bar. also I couldn't post it in code tags so it's probably going to get cut off by forum software, you may need to quote my post to get the full text.) Therefore, I'm suggesting that part of implementing this BBCode could involve translating its contents to the contents of a HTML5 <code> tag - that's possibly simpler than trying to use a styled span. Those other boards where that worked probably allow limited HTML to be used for formatting in posts. This forum only allows BBCode formatting in posts. Hope that helps. EDIT oops, looks like I collided posting with Thrawn :?
I should note that this apparently doesn't happen with links to Giorgio's own sites. I wanted to link some page on one of Giorgio's sites in my demo, but the bug didn't surface there.Thrawn wrote:When the board parses URLs, it automatically truncates long ones.
However, if you preview or edit the truncated URL, then it puts the truncated text (with dots) into the edit box, and you end up with a broken URL.
Decided to try it anyway, just for fun.barbaz wrote:I think this probably wouldn't be hard to implement.
[...]
@Giorgio, I can actually try to add this BBCode (inline monospace + verbatim contents) on my local phpBB 3.0.12 test board and post back what's involved, if that would help you decide whether to do this or not..