{"action":"opened","issue":{"url":"https://api.github.com/repos/jtulach/codesnippet4javadoc/issues/1","repository_url":"https://api.github.com/repos/jtulach/codesnippet4javadoc","labels_url":"https://api.github.com/repos/jtulach/codesnippet4javadoc/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jtulach/codesnippet4javadoc/issues/1/comments","events_url":"https://api.github.com/repos/jtulach/codesnippet4javadoc/issues/1/events","html_url":"https://github.com/jtulach/codesnippet4javadoc/issues/1","id":137050535,"number":1,"title":"Larger snippets fail","user":{"login":"sjaakd","id":6173283,"avatar_url":"https://avatars.githubusercontent.com/u/6173283?v=3","gravatar_id":"","url":"https://api.github.com/users/sjaakd","html_url":"https://github.com/sjaakd","followers_url":"https://api.github.com/users/sjaakd/followers","following_url":"https://api.github.com/users/sjaakd/following{/other_user}","gists_url":"https://api.github.com/users/sjaakd/gists{/gist_id}","starred_url":"https://api.github.com/users/sjaakd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjaakd/subscriptions","organizations_url":"https://api.github.com/users/sjaakd/orgs","repos_url":"https://api.github.com/users/sjaakd/repos","events_url":"https://api.github.com/users/sjaakd/events{/privacy}","received_events_url":"https://api.github.com/users/sjaakd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-28T12:59:52Z","updated_at":"2016-02-28T12:59:52Z","closed_at":null,"body":"@jtulach : nice tool :+1: \r\n\r\nI'm trying to use it in our open source project were we use an annotation processor to generate bean-mappings (MapStruct). The javadoc examples would include samples of the generated code.\r\n\r\nI've copied those samples (api + generated code) to the test directory of the api project. When I use too long snippets, the javadoc processor fails: `javadoc: error - Line is too long in: ../value/OrderMapperImpl.java`\r\n\r\nJavadoc:\r\n```java\r\n/**\r\n * Configures the mapping of source constant value to target constant value.\r\n *\r\n * {@codesnippet OrderMapperImpl}\r\n *\r\n */\r\n```\r\nTargeted source code\r\n\r\n```java\r\n// BEGIN: OrderMapperImpl\r\npublic class OrderMapperImpl implements OrderMapper {\r\n\r\n    @Override\r\n    public ExternalOrderType orderTypeToExternalOrderType(OrderType orderType) {\r\n        if ( orderType == null ) {\r\n            return null;\r\n        }\r\n\r\n        ExternalOrderType externalOrderType_;\r\n\r\n        switch ( orderType ) {\r\n            case EXTRA: externalOrderType_ = ExternalOrderType.SPECIAL;\r\n            break;\r\n            case STANDARD: externalOrderType_ = ExternalOrderType.DEFAULT;\r\n            break;\r\n            case NORMAL: externalOrderType_ = ExternalOrderType.DEFAULT;\r\n            break;\r\n            case RETAIL: externalOrderType_ = ExternalOrderType.RETAIL;\r\n            break;\r\n            case B2B: externalOrderType_ = ExternalOrderType.B2B;\r\n            break;\r\n            default: throw new IllegalArgumentException( \"Unexpected enum constant: \" + orderType );\r\n        }\r\n\r\n        return externalOrderType_;\r\n    }\r\n\r\n}\r\n// FINISH: OrderMapperImpl\r\n```\r\n\r\nAny idea how to fix this:"}}