thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Zenker (JIRA)" <>
Subject [jira] [Created] (THRIFT-4763) HTML compiler produces invalid HTML document
Date Mon, 28 Jan 2019 11:41:00 GMT
Sebastian Zenker created THRIFT-4763:

             Summary: HTML compiler produces invalid HTML document
                 Key: THRIFT-4763
             Project: Thrift
          Issue Type: Bug
          Components: HTML - Compiler
            Reporter: Sebastian Zenker

Steps to reproduce:
 # Create an simpl thrift file like the following:
service MyService {}
 # generate the HTML documentation for it via thrift -gen html MyService.thrift

The HTML compiler generates the following invalid stream:

{{<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"}}
{{ "">}}
{{<html xmlns="">}}
{{<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />}}
{{<link href="style.css" rel="stylesheet" type="text/css"/>}}
{{<title>Thrift module: test</title></head><body>}}
{{<div class="container-fluid">}}
{{<h1>Thrift module: test</h1>}}
{{<table class="table-bordered table-striped table-condensed"><thead><th>Module</th><th>Services</th><th>Data
{{<td>test</td><td><a href="#Svc_MyService">MyService</a><br/>}}
{{<hr/><h2 id="Services">Services</h2>}}
{{<h3 id="Svc_MyService">Service: MyService</h3>}}

This message was sent by Atlassian JIRA

View raw message