[Asterisk-code-review] rest-api-templates/asterisk processor - replace http line br... (asterisk[13])
Kevin Harwell
asteriskteam at digium.com
Mon Feb 25 17:31:41 CST 2019
Hello Friendly Automation, Sean Bright,
I'd like you to reexamine a change. Please visit
https://gerrit.asterisk.org/11039
to look at the new patch set (#2).
Change subject: rest-api-templates/asterisk_processor - replace http line breaks with line feed
......................................................................
rest-api-templates/asterisk_processor - replace http line breaks with line feed
Including line breaks (<br>, <br/>, <br />) in certain parts of the rest-api
json definition (e.g. summary, notes) displays them correctly in swagger.
However, when the field gets converted to the wiki format those breaks get
escaped and show up in the text as the actual string literal "<br>" etc...
This patch makes it so when converting to the wiki format it replaces all line
break values (<br>, etc...) with line feeds ('\n').
Change-Id: Ie1c9faa0d1c5d622804cc0a21ce769095b08aa3d
---
M rest-api-templates/asterisk_processor.py
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/39/11039/2
--
To view, visit https://gerrit.asterisk.org/11039
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie1c9faa0d1c5d622804cc0a21ce769095b08aa3d
Gerrit-Change-Number: 11039
Gerrit-PatchSet: 2
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Friendly Automation (1000185)
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190225/444af8f7/attachment-0001.html>
More information about the asterisk-code-review
mailing list