Situation:
Field in a content type
- with basic information: node reference / multiselect
- and within "Global settings", "Content types that can be referenced:", "Advanced - Nodes that can be referenced (View)", "View used to select the nodes": a view that gives back the "node: title" of the found out records (but same failure with each other field).
Failure:
Editing existing content of the content type mentioned above results in displaying
<span class="views-field-title"> <span
in each field with the type multiselect at the right below "selected options".
The source code of the webpage containing the failure is this one:
<select name="field_projekt_traeger[nid][]" multiple="multiple" class="form-select field_projekt_traeger_sel multiselect_sel" id="field_projekt_traeger" id="edit-field-projekt-traeger-nid" size="10">
<option value="710" selected="selected">
<span class="views-field-title">
<span class="field-content">Projektträger XYZ</span>
</span>
</option>
</select>
Taking the source code, changing < and > into < and > and displaying it in a webbrowser seems to work correct.
Please correct if possible because I don't know how to work around... Thank you!
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | multiselect.diff | 296 bytes | fastangel |
Comments
Comment #1
fastangel commentedHi,
with the following diff to fix the problem you have.
Comment #2
attheshow commentedDuplicate of #276091: Shows HTML code in selected items list when using a view to select nodes. Please use the current dev branch for the moment if you have this issue with 6.x-1.5.