zfcampus / zf-apigility-documentation

BSD 3-Clause "New" or "Revised" License
12 stars 34 forks source link

Allow new-lines in Method descriptions #42

Open dmalouf opened 8 years ago

dmalouf commented 8 years ago

The descriptions of Methods (ex. POST, GET, etc.) can have new-lines on data-entry, but the new-lines are ignored in this Documentaiton module.

As it stands right now, new-lines are, effectively, just spaces. This can make the description of a given method more more difficult to read when there is more than a few sentences.

apigility_documentation_css_change

See the screen-shot for an example of the desired effect: I have included the CSS ( white-space: pre ) on the related element.

weierophinney commented 4 years ago

This repository has been closed and moved to laminas-api-tools/api-tools-documentation; a new issue has been opened at https://github.com/laminas-api-tools/api-tools-documentation/issues/10.