[jboss-cvs] jboss-seam/src/test/misc/org/jboss/seam/test ...

Gavin King gavin.king at jboss.com
Sat Jan 13 21:54:53 EST 2007


  User: gavin   
  Date: 07/01/13 21:54:53

  Modified:    src/test/misc/org/jboss/seam/test  SeamTextTest.txt
  Log:
  quote with backticks
  
  Revision  Changes    Path
  1.2       +11 -7     jboss-seam/src/test/misc/org/jboss/seam/test/SeamTextTest.txt
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SeamTextTest.txt
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/test/misc/org/jboss/seam/test/SeamTextTest.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- SeamTextTest.txt	12 Jan 2007 16:50:53 -0000	1.1
  +++ SeamTextTest.txt	14 Jan 2007 02:54:53 -0000	1.2
  @@ -13,17 +13,18 @@
   
   This is especially useful for HTML: \<notatag\> \&notanentity;
   
  -But if we don\'t want to use escapes in our preformatted
  -text, instead we can wrap it in single quotes:
  +But if we don't want to use escapes in our preformatted
  +text, we can wrap it in backwards quotes, and special 
  +characters get escaped automagically:
   
  -'//This is some code:
  +`//This is some code:
   
   <some-tag/>
   "a string" 
   a_variable_name 
   a||b 
   x=y*z/2
  -</tag>'
  +</tag>`
   
   We wrap quoted text in double quotes:
   
  @@ -31,7 +32,7 @@
   lines, but a blank line does not start a new paragraph. If you
   need multiple paragraphs in a quote, you have to use \<p\>."
   
  -You can even have "a quote", or 'some code' inside
  +You can even have "a quote", or `some code` inside
   a regular paragraph!
   
   We use ordinary old HTML for tables: 
  @@ -52,6 +53,8 @@
      <li>/baz/</li>
   </ol>
   
  +<ul><li>foo</li><li>*bar*</li><li>/baz/</li></ul>
  +
   But if the items fit on a line, we can use \#
   for ordered lists:
   
  @@ -72,7 +75,7 @@
   And even for more exotic formatting, for example:
   
   <quote>This is a /HTML/ quote with a <a href="http://jboss.org/">link</a>, 
  -and a "nested quote" and even 'some code' in it.</quote>
  +and a "nested quote" and even `some code` in it.</quote>
   
   <p>
   This is a HTML paragraph with some lists:
  @@ -93,4 +96,5 @@
   = a list,
   = with 2 items
   
  -and 'some code' and <a href="http://jboss.com/products/seam">yet another link</a>."
  \ No newline at end of file
  +and `some code` and <a href="http://jboss.com/products/seam"><i>yet 
  +another</i> link</a>."
  \ No newline at end of file
  
  
  



More information about the jboss-cvs-commits mailing list