Revision: 2497
Author: janne.t.harkonen
Date: Mon Feb 22 04:45:55 2010
Log: whitespace
http://code.google.com/p/robotframework/source/detail?r=2497

Modified:
 /trunk/src/robot/utils/htmlutils.py

=======================================
--- /trunk/src/robot/utils/htmlutils.py Wed Apr 29 03:30:16 2009
+++ /trunk/src/robot/utils/htmlutils.py Mon Feb 22 04:45:55 2010
@@ -29,7 +29,7 @@
 ([^\ ].*?)                # no space and then anything (group 3)
 \*                        # end of bold
 (?=                       # start of postfix (non-capturing group)
-  _? ["').,!?:;]*         # optional end of italic and any char "').,!?:;
+  _? ["').,!?:;]*         # optional end of italic and any char "').,!?:;
   (\Z|\ )                 # end of line or space
 )
 ''', re.VERBOSE)
@@ -53,7 +53,7 @@

     for name, value in [('&', '&amp;'), ('<', '&lt;'), ('>', '&gt;')]:
         text = text.replace(name, value)
-
+
     ret = []
     table = _Table()
     hr = None
@@ -84,7 +84,7 @@
         ret.append(table.end())
     if hr:
         ret.append(hr)
-
+
     return '<br />\n'.join(ret)


@@ -140,7 +140,7 @@
         line = _italic_re.sub('\\1<i>\\3</i>', line)
     line = _url_re.sub(lambda res: _repl_url(res, formatting), line)
# Replace a tab with eight "hard" spaces, and two "soft" spaces with one
-    # "hard" and one "soft" space (preserves spaces but allows wrapping)
+    # "hard" and one "soft" space (preserves spaces but allows wrapping)
     return line.replace('\t', '&nbsp;'*8).replace('  ', ' &nbsp;')


Reply via email to