All pastes #319650 Raw Copy code Copy link Edit

Miscellany

public text v1 · immutable
#319650 ·published 2007-01-17 16:50 UTC
rendered paste body
Failure in test TextAreaWidget (zope.app.form.browser.textwidgets)
Failed doctest test for zope.app.form.browser.textwidgets.TextAreaWidget
  File "/home/gbaker/Zope3/Zope-3.3.0/build/lib.linux-i686-2.4/zope/app/form/browser/textwidgets.py", line 226, in TextAreaWidget

----------------------------------------------------------------------
File "/home/gbaker/Zope3/Zope-3.3.0/build/lib.linux-i686-2.4/zope/app/form/browser/textwidgets.py", line 253, in zope.app.form.browser.textwidgets.TextAreaWidget
Failed example:
    print normalize( widget.hidden() )
Expected:
    <input
      class="hiddenType"
      id="field.foo"
      name="field.foo"
      type="hidden"
      value="Hello
    world!"
      />
Got:
    <input
      class="hiddenType"
      id="field.foo"
      name="field.foo"
      type="hidden"
      value="Hello&#13;&#10;world!"
      />



Using Zope 3.3 and Python 2.4.4