Hi everyone,

After updating this morning, I notice that when

#+BEGIN_SRC org
* My headline
Some text here.
#+END_SRC

is exported to HTML, the paragraph below the headline is no longer
wrapped in a paragraph tag:

#+BEGIN_SRC html
<h2 id="sec-1"><span class="section-number-2">1</span> My headline</h2>
<div class="outline-text-2" id="text-1">
Some text here.
</div>
#+END_SRC

Whereas if there is more than one paragraph below the headline, they
are:

#+BEGIN_SRC org
* My headline
Some text here.

What about here?

Or here?
#+END_SRC 

becomes

#+BEGIN_SRC html
<h2 id="sec-1"><span class="section-number-2">1</span> My headline</h2>
<div class="outline-text-2" id="text-1">
<p>
Some text here.
</p>

<p>
What about here?
</p>

<p>
Or here?
</p>
</div>
#+END_SRC 

I am guessing this is the result of commit
9a34a13c077f592c5528d95c155ecdf2d655937e.

Is this now the expected behavior for paragraphs, even *outside* of
lists?  Personally I find this a bit unexpected.  It broke my CSS, and I
am not sure what the best way to fix it is.  What should I do if I want
to style all the blocks of text on a page, since some will be wrapped in
<p> tags and others won't be, depending on whether there are other
paragraphs in the same div?
 
Best,
Richard


Reply via email to