Title: Rel Attribute question/issue
Last modified: August 21, 2016

---

# Rel Attribute question/issue

 *  Resolved [mikabajic](https://wordpress.org/support/users/mikabajic/)
 * (@mikabajic)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/rel-attribute-questionissue/)
 * Hi,
    My name is Milos. I am new to WP. Recently I installed your plugin and I
   love it. The only small issue that I have is that double space gets created right
   after the “target content” in titles Режија and Продукција.
 * Link: [http://www.serbiantreasury.com/?video=gde-cveta-limun-zut](http://www.serbiantreasury.com/?video=gde-cveta-limun-zut)
 * Could you tell me what might be the problem?
 * This is a code from my site:
 * [expand title=”Сценарио” rel=”fiction”]Милован Витезовић и Здравко Шотра [/expand][
   expand title=”Режија” rel=”fiction”]Здравко Шотра [/expand]
    [expand title=”Продукција”
   rel=”fiction”]Кошутњак филм 2006[/expand] [expand title=”Глумци” rel=”fiction”]
   Драган Николић – наратор Зоран Цвијановић – регент Александар Карађорђевић Петар
   Краљ – Никола Пашић – председник владе Драгослав Илић – краљ Петар Карађорђевић
   Миодраг Радовановић – војвода Путник Хана Јовчић – каплар Флора Сандес Милица
   Милша – сестра Маргарита Миленко Заблаћански – Џон Рид – амерички новинар Драгомир
   Цумић – војник из Лике Иван Босиљчић – Пантелија – рањеник Горан Даничић – новинар[/
   expand]
 * Thanks in advance,
    Milos
 * [http://wordpress.org/plugins/jquery-collapse-o-matic/](http://wordpress.org/plugins/jquery-collapse-o-matic/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Baden](https://wordpress.org/support/users/baden03/)
 * (@baden03)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/rel-attribute-questionissue/#post-4470710)
 * This [spacing issue](http://wordpress.org/search/collapse-o-matic+spacing) has
   been addressed many times in this forum.
 * In short you have a few choices:
    1. either set the default tag to div in the plugin options page or use the `tag
       ="div"` attribute
    2. wrap all your expand elements in a div:
    3.     ```
           <div>[expand title="Сценарио" rel="fiction"]Милован Витезовић и Здравко Шотра [/expand]
           [expand title="Режија" rel="fiction"]Здравко Шотра[/expand]
           [expand title="Продукција" rel="fiction"]Кошутњак филм 2006[/expand]</div>
           ```
       
    4. as a final fix, and the reason why this issue exists, is to change the Execution
       Priority of wpautop by adding the following line to function.php:
    5.     ```
           add_filter( 'the_content', 'wpautop',20 );
           ```
       
 * Please let us know if you get it worked out and what worked for you.

Viewing 1 replies (of 1 total)

The topic ‘Rel Attribute question/issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jquery-collapse-o-matic_fffeff.svg)
 * [Collapse-O-Matic](https://wordpress.org/plugins/jquery-collapse-o-matic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jquery-collapse-o-matic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jquery-collapse-o-matic/)
 * [Active Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jquery-collapse-o-matic/reviews/)

## Tags

 * [attribute](https://wordpress.org/support/topic-tag/attribute/)
 * [REL](https://wordpress.org/support/topic-tag/rel/)
 * [spacing](https://wordpress.org/support/topic-tag/spacing/)
 * [wpautop](https://wordpress.org/support/topic-tag/wpautop/)

 * 1 reply
 * 2 participants
 * Last reply from: [Baden](https://wordpress.org/support/users/baden03/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/rel-attribute-questionissue/#post-4470710)
 * Status: resolved