Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong output, when mixing raw html with org-mode #33

Closed
yssource opened this issue Mar 19, 2017 · 1 comment
Closed

wrong output, when mixing raw html with org-mode #33

yssource opened this issue Mar 19, 2017 · 1 comment
Assignees

Comments

@yssource
Copy link

Code 1

#+HTML: <div class="outline-2" id="meta" style="color:green">
| *Author* | {{{author}}} ({{{email}}})    |
| *Date*   | {{{time(%Y-%m-%d %H:%M:%S)}}} |
#+HTML: </div>

Code 2

<div class="outline-6" id="meta" style="color:green">
| *Author* | {{{author}}} ({{{email}}})    |
| *Date*   | {{{time(%Y-%m-%d %H:%M:%S)}}} |
</div>

Currently this tool does not support #+HTML , like the code 1. But, actually Hugo has already supported the rendering for the raw html.
I try to test it with Code 2, mixing raw html with org-mode. As a result, get the wrong output

  1. The actually output:
<div class="outline-6" id="meta" style="color:green"><p></p>

<p></p></div>
<table>
<tbody>
<tr>
<td><strong>Author</strong></td>
<td>{{{author}}} ({{{email}}})</td>
</tr>

<tr>
<td><strong>Date</strong></td>
<td>{{{time(%Y-%m-%d %H:%M:%S)}}}</td>
</tr>
</tbody>
</table>
  1. Expected output:
<div class="outline-6" id="meta" style="color:green"><p></p>

<p></p>
<table>
<tbody>
<tr>
<td><strong>Author</strong></td>
<td>{{{author}}} ({{{email}}})</td>
</tr>

<tr>
<td><strong>Date</strong></td>
<td>{{{time(%Y-%m-%d %H:%M:%S)}}}</td>
</tr>
</tbody>
</table>

</div>

@curiouslychase curiouslychase self-assigned this Apr 12, 2017
@curiouslychase
Copy link
Owner

I had a branch I was getting ready to PR into Hugo this week that fixed this, but it looks like @niklasfasching PR'ed a new org parser, so I'm closing all the issues here, deprecating and archiving goorgeous.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants