Modify ↓
#967 closed defect (fixed)
xml like patch not escaped properly
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | 0.9 |
Component: | ticket system | Version: | 0.8 |
Severity: | normal | Keywords: | |
Cc: | johan@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
A patch like this:
Index: flumotion/component/producers/webcam/webcam.xml =================================================================== --- flumotion/component/producers/webcam/webcam.xml (revision 1164) +++ flumotion/component/producers/webcam/webcam.xml (working copy) @@ -4,6 +4,7 @@ <source location="flumotion.component.producers.webcam.webcam"/> <properties> <property name="feed" type="string" required="yes" multiple="yes"/> + <property name="device" type="string" required="yes"/> <property name="height" type="int"/> <property name="width" type="int"/> <property name="framerate" type="float"/>
is rendered like this:
<span class="code-string"><B>Index: flumotion/component/producers/webcam/webcam.xml </span></B> <span lass="code-string"><B>=================================================================== </span></B> <B><span class="code-func">--- flumotion/component/producers/webcam/webcam.xml (revision 1164) </span></B> <B><span class="code-keyword">+++ flumotion/component/producers/webcam/webcam.xml (working copy) </span></B> <I><span class="code-comment">@@ -4,6 +4,7 @@ </span></I> <source location="flumotion.component.producers.webcam.webcam"/> <properties> <property name="feed" type="string" required="yes" multiple="yes"/> <B><span class="code-keyword">+ <property name="device" type="string" required="yes"/> </span></B> <property name="height" type="int"/> <property name="width" type="int"/> <property name="framerate" type="float"/> </PRE></div>
Which makes all lines with < and > to be not rendered at all.
For an example. see this url: https://core.fluendo.com/trac/cgi-bin/trac.cgi/attachment/ticket/110/webcam-device-property.patch
Attachments (1)
Change History (4)
by , 20 years ago
Attachment: | xml-rendering.patch added |
---|
comment:2 by , 20 years ago
Milestone: | → 0.9 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Since Trac now provides it's own mimeviewer to display diff files like the changeset diffs, this problem is fixed.
comment:3 by , 20 years ago
And actually it seems like the enscript formatting works too since the patch attached to this ticket displays properly without the newer diff viewer.
Note:
See TracTickets
for help on using tickets.
testcase