Jump to content


Photo

Quoting


  • Please log in to reply
2 replies to this topic

#1 JimLucas

JimLucas

    Ineluctable Opinionmaker

  • Members
  • PipPipPipPipPipPip
  • 9124 posts
  • Gender:Male
  • Location:Denmark

Posted 06 May 2006 - 10:22 AM

While in the compose/edit mode, one can quote by clicking the [attachment=1780:attachment] icon at the top and pasting any text between the tags:...

If I do it that way on my PC, I find that I need to click twice (not the same as a double-click), once to create the opening tag and again to create the closing tag. A single, unpaired tag will cause subsequent tags to be applied incorrectly.

But an alternative -- at least on my PC -- is to type the text first, then select/highlight it (using click-drag or click followed by shift-click) and click on the "quote" icon. That inserts an opening tag just before the highlighted section and a closing tag immediately after, i.e., encloses the highlighted text within appropriate quote tags.

And just in case anyone doesn't know what we mean by "tags", they are special instructions to the software that formats the posts for C.net, telling it how to "highlight" a segment of text. Each "opening" tag -- a word enclosed in square brackets -- says to start highlighting the text in a particular way, e.g., in italics, larger size, or particular color, by enclosing it in a quote box, or whatever. (Some opening tags can also contain additional information, such as the poster's name and time when a quoted post was posted.) A closing tag to match an opening tag musts contain the same key word, but preceded by a slash.

Here are a few examples of opening and closing tag pairs. This list has been created by using the "code" tags, which causes the enclosed text to be displayed precisely as entered, including extra spaces and tags, displaying the tags rather than interpreting them. (I have not included a pair of "code" tags. Can you guess why? ;))
italic:  [i]text[/i]
underline: [u]text[/u]
color (dark red):  [color=#CC0000]text[/color]
quote:  [quote]text[/quote]
quote w/ info:  [quote name='David Barnert' date='May 6 2006, 02:01 PM' post='38894']quoted post[/quote]
URL:  [url=http://www.concertina.net/forums]Concertina.net[/url]


#2 David Barnert

David Barnert

    Ineluctable Opinionmaker

  • Members
  • PipPipPipPipPipPip
  • 2623 posts
  • Gender:Male
  • Location:Albany, NY, USA

Posted 06 May 2006 - 09:25 PM

While in the compose/edit mode, one can quote by clicking the [attachment=1780:attachment] icon at the top and pasting any text between the tags:...

If I do it that way on my PC, I find that I need to click twice (not the same as a double-click), once to create the opening tag and again to create the closing tag. A single, unpaired tag will cause subsequent tags to be applied incorrectly.

I just checked to see if I was remembering incorrectly (or a previous incarnation of the Invision interface) but I was right: Clicking the quote icon brings up:
[quote] [/quote]
just as clicking the code icon (#) brings up opening and closing code tags.

But an alternative -- at least on my PC -- is to type the text first, then select/highlight it (using click-drag or click followed by shift-click) and click on the "quote" icon. That inserts an opening tag just before the highlighted section and a closing tag immediately after, i.e., encloses the highlighted text within appropriate quote tags.

Nope. On my Mac (and I just tried it with the above quote, hoping and expecting it would work) it does the same thing it would do without any selected text: it places a pair of tags at the end of any entered text.

(I have not included a pair of "code" tags. Can you guess why? wink.gif)

Read your Hofstadter.

Edited to correct the spelling of the word "edited." ;)

Edited by David Barnert, 06 May 2006 - 09:26 PM.


#3 JimLucas

JimLucas

    Ineluctable Opinionmaker

  • Members
  • PipPipPipPipPipPip
  • 9124 posts
  • Gender:Male
  • Location:Denmark

Posted 07 May 2006 - 02:49 AM

(I've included the extended quote at the end, so you don't have to scroll down to see my comment, or at all if you remember what David said.)

Interesting! I've confirmed my own results in two different browsers under Windows... Mozilla (same as Netscape) and MS Internet Explorer. That makes sense, since the browser should know nothing about how Invision is generating non-HTML tags.

So it appears that the Mac version of the Invision software exhibits different behavior than does the Windows version. I wonder why.

I personally think that the most appropriate behavior in both environments would be to enclose any selected (highlighted) text (as under Windows) but insert a tag pair if nothing is selected (as on the Mac, which is really just enclosing that "nothing") in all cases. Among other things, this would help prevent the tags getting out of synch, though careless editing could still do so.

I wonder whether Invision is deliberately retaining an old incompatibility so that existing users don't have to learn new behavior, even though that ignores the fact that users of both operating systems have to learn two different sets of behavior. I think a recommendation should be made to Invision that they implement the "enclose highlighted, even if empty" behavior across all platforms.

While in the compose/edit mode, one can quote by clicking the [attachment=1780:attachment] icon at the top and pasting any text between the tags:...

If I do it that way on my PC, I find that I need to click twice (not the same as a double-click), once to create the opening tag and again to create the closing tag. A single, unpaired tag will cause subsequent tags to be applied incorrectly.

I just checked to see if I was remembering incorrectly (or a previous incarnation of the Invision interface) but I was right: Clicking the quote icon brings up:
[quote] [/quote]
just as clicking the code icon (#) brings up opening and closing code tags.

But an alternative -- at least on my PC -- is to type the text first, then select/highlight it (using click-drag or click followed by shift-click) and click on the "quote" icon. That inserts an opening tag just before the highlighted section and a closing tag immediately after, i.e., encloses the highlighted text within appropriate quote tags.

Nope. On my Mac (and I just tried it with the above quote, hoping and expecting it would work) it does the same thing it would do without any selected text: it places a pair of tags at the end of any entered text.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users