Forrest
  1. Forrest
  2. FOR-743

siteinfo-feedback contract returns multiple nested a<href> declarations.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8
    • Fix Version/s: 0.8
    • Labels:
      None

      Description

      This description taken from http://marc.theaimsgroup.com/?l=forrest-dev&m=113313199327182&w=2

      >3. index.fv provided with /samples/ has this for the footer feedback
      >contract :-
      >
      ><forrest:contract name="siteinfo-feedback">
      > <forrest:properties contract="siteinfo-feedback">
      > <forrest:property name="siteinfo-feedback">
      > <feedback to="webmaster@foo.com"
      > href="mailto:webmaster@foo.com?subject=Feedback&#160;" >
      > Send feedback about the website to:
      > </feedback>
      > </forrest:property>
      > </forrest:properties>
      > </forrest:contract>
      >
      >The code this produces is :-
      >
      ><div id="siteinfo-feedback">
      > Send feedback about the website to:
      > <a id="feedbackto"
      >href="mailto:webmaster@foo.com?subject=Feedback samples/index.html"><a
      >href="mailto:webmaster@foo.com">webmaster at
      > foo.com</a></a></div>
      >
      >which is incorrect nesting of the <a> element and also multiple declarations
      >of the href and mailto when there is no need. Should this not read
      >
      ><div id="siteinfo-feedback">
      > Send feedback about the website to:
      > <a id="feedbackto"
      >href="mailto:webmaster@foo.com?subject=Feedback
      >samples/index.html"></a></div>
      >
      >Where is the extra.. <a href="mailto:webmaster@foo.com">webmaster at
      >foo.com</a> ..coming from ??

        Issue Links

          Activity

            People

            • Assignee:
              Cyriaque Dupoirieux
              Reporter:
              Gavin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development