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

working with <WRAP column> plugin #82

Open
hkimscil opened this issue Jun 20, 2016 · 1 comment
Open

working with <WRAP column> plugin #82

hkimscil opened this issue Jun 20, 2016 · 1 comment

Comments

@hkimscil
Copy link

hkimscil commented Jun 20, 2016

Hello, I know that it should be written under WRAP plugin discussion page; but, no comments were available. My problem is conflict between listing blog items and using <WRAP column half> and using
<h1> elements. For example,

<WRAP column half>
====== Wiki page ======
- Some items 
- Some items 
- Some items 
- Some items 

</WRAP>

<WRAP column half>
====== Blog entries ======
{{blog>blog:a_blog?3&inline}}

</WRAP>

The above should be displayed

====== Wiki page ======
- Some items 
- Some items 
- Some items 
- Some items 

should be in left side; and,

======= Blog entries ======
===== first blog item =====
xxxxxxxxxx
===== second blog item =====
sssssssss

should be right side. But, blog items does not have ===== (2nd header, <h2>); but, has 1st header, <h1>.

If I remove all the <WRAP column half> elements, the page renders correctly. I hope I made myself clear. :-( Thanks for reading!

@michitux
Copy link
Member

The problem is that the blog plugin automatically tries to find the right header level by searching in the already printed HTML output. However, in the case of the wrap plugin, it won't find the right level. I guess the easiest solution would be to add an extra flag to the blog syntax for overriding the automatic level detection.

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