You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/11/14 20:25:33 UTC

[jira] [Commented] (THRIFT-2824) Flag to disable html escaping doctext

    [ https://issues.apache.org/jira/browse/THRIFT-2824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14212684#comment-14212684 ] 

ASF GitHub Bot commented on THRIFT-2824:
----------------------------------------

GitHub user captncraig opened a pull request:

    https://github.com/apache/thrift/pull/266

    THRIFT-2824

    https://issues.apache.org/jira/browse/THRIFT-2824
    
    We use the html generator to create and publish documentation for our services. We primarily use the program level doctext to insert html documentation for the entire service.
    We would like to add richer content up top, but are limited by the escaping performed by the html generator on doctexts.
    This patch adds the "noescape" flag to simply render doctexts as-is.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/captncraig/thrift unsafe-html

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/266.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #266
    
----
commit 0df9592deb6dce477600f923745d6cdb113592ae
Author: Craig Peterson <cp...@ancestry.com>
Date:   2014-11-14T19:12:49Z

    adding flag to allow unescaped html in doectexts

----


> Flag to disable html escaping doctext
> -------------------------------------
>
>                 Key: THRIFT-2824
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2824
>             Project: Thrift
>          Issue Type: New Feature
>          Components: HTML - Compiler
>    Affects Versions: 0.9.2
>            Reporter: Craig Peterson
>            Priority: Minor
>
> We use the html generator to create and publish documentation for our services. We primarily use the program level doctext to insert html documentation for the entire service.
> We would like to add richer content up top, but are limited by the escaping performed by the html generator on doctexts.
> This patch adds the "noescape" flag to simply render doctexts as-is.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)