Revision: 1b4a4496b30d
Branch:   default
Author:   Pekka Klärck
Date:     Tue Oct 23 14:47:50 2012
Log:      Documented that NBSPs are considered normal spaces in parsing.

Update issue 1264
Labels: -Targe-2.7.5, Target-2.7.5
Now also documented. Closing
http://code.google.com/p/robotframework/source/detail?r=1b4a4496b30d

Modified:
 /doc/userguide/RobotFrameworkUserGuide.html
 /doc/userguide/src/CreatingTestData/TestDataSyntax.rst

=======================================
--- /doc/userguide/RobotFrameworkUserGuide.html Mon Oct 15 08:09:49 2012
+++ /doc/userguide/RobotFrameworkUserGuide.html Tue Oct 23 14:47:50 2012
@@ -3,7 +3,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Docutils 0.9.1: http://docutils.sourceforge.net/"; /> +<meta name="generator" content="Docutils 0.9: http://docutils.sourceforge.net/"; />
 <title>Robot Framework User Guide</title>
 <style type="text/css">

@@ -2119,7 +2119,8 @@
 <div class="section" id="handling-whitespace">
 <h4><a class="toc-backref" href="#id387">Handling whitespace</a></h4>
 <p>Robot Framework handles whitespace, such as spaces, newlines and tabs,
-the same way as they are handled in HTML. This means that Robot Framework:</p>
+the same way as they are handled in HTML. This means that
+Robot Framework:</p>
 <ul class="simple">
 <li>Removes leading and trailing whitespace in all cells.</li>
 <li>Changes multiple consecutive spaces into single spaces.</li>
@@ -2146,6 +2147,15 @@
 are equivalent. An exception to this rule is that the whitespace
character is not ignored inside the <a class="reference internal" href="#extended-variable-syntax">extended variable syntax</a>.</p>
 </div>
+<div class="note">
+<p class="first admonition-title">Note</p>
+<p class="last">Starting from Robot Framework 2.7.5, non-breaking spaces are
+replaced with normal spaces regardless the test data format.
+This is done to avoid hard-to-debug errors when a non-breaking
+space is accidentally used instead of a normal space. If real
+non-breaking spaces are needed in test data, it is possible to
+create variables containing them, for example, in <a class="reference internal" href="#variable-files">variable files</a>.</p>
+</div>
 </div>
 <div class="section" id="dividing-test-data-to-several-rows">
<h4><a class="toc-backref" href="#id388">Dividing test data to several rows</a></h4>
@@ -16210,7 +16220,7 @@
 <div class="footer">
 <hr class="footer" />
<p>Generated by <a class="reference external" href="http://docutils.sourceforge.net/rst.html";>reStructuredText</a>. Syntax highlighting by <a class="reference external" href="http://pygments.org/";>Pygments</a>.</p>
-<p>Generated on: 2012-10-15 15:08 UTC.
+<p>Generated on: 2012-10-23 21:46 UTC.
 </p>

 </div>
=======================================
--- /doc/userguide/src/CreatingTestData/TestDataSyntax.rst Tue Oct 23 14:37:32 2012 +++ /doc/userguide/src/CreatingTestData/TestDataSyntax.rst Tue Oct 23 14:47:50 2012
@@ -523,6 +523,13 @@
           are equivalent. An exception to this rule is that the whitespace
           character is not ignored inside the `extended variable syntax`_.

+.. note:: Starting from Robot Framework 2.7.5, non-breaking spaces are
+          replaced with normal spaces regardless the test data format.
+          This is done to avoid hard-to-debug errors when a non-breaking
+          space is accidentally used instead of a normal space. If real
+          non-breaking spaces are needed in test data, it is possible to
+ create variables containing them, for example, in `variable files`_.
+
 __ `Space and empty variables`_

 Dividing test data to several rows

Reply via email to