Skip to content

Commit dc82056

Browse files
committed
Merge branch 'hotfix/50'
Close #50
2 parents e64c2a3 + 679c09d commit dc82056

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ All notable changes to this project will be documented in this file, in reverse
2020

2121
- [#49](https://github.com/zfcampus/zf-apigility-documentation/pull/49) fixes
2222
representation of nested collections.
23+
- [#50](https://github.com/zfcampus/zf-apigility-documentation/pull/50) fixes
24+
escaping of field decriptions; previously, the template was improperly using
25+
`escapeTransformDescription()` instead of `agTransformDescription()`.
2326

2427
## 1.2.2 - 2016-08-10
2528

view/zf-apigility-documentation/operation.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ $collapseId = $this->escapeHtmlAttr(sprintf('ops-collapse-%s-%s%s', $serv
3838
<tr>
3939
<td><?php echo $this->escapeHtml($field->getName()) ?></td>
4040
<td><?php echo $this->escapeHtml($field->getFieldType() ?: '') ?></td>
41-
<td><?php echo $this->escapeTransformDescription($field->getDescription()) ?></td>
41+
<td><?php echo $this->agTransformDescription($field->getDescription()) ?></td>
4242
<td class="center-block"><span class="badge"><?php echo ($field->isRequired()) ? 'YES' : 'NO' ?></span></td>
4343
</tr>
4444
<?php

0 commit comments

Comments
 (0)