Categories > TinyButStrong general >

Option to allow mergeblock without closing slash

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Michael Frey
Date: 2014-07-09
Time: 14:03

Option to allow mergeblock without closing slash

HTML5 does not require the closing slash anymore on elements such as: <link> and <meta>.

Right now TBS requires <link/> and <meta/>.

Is it possible to do a block merge on these without the closing slash. Is there an option to set this? If not, how can I change this?

Thank you
Michael
By: Skrol29
Date: 2014-07-09
Time: 14:24

Re: Option to allow mergeblock without closing slash

If you define "block=/" the the block is the single XML/HTML tag that embeds the TBS field.

You can also use block"_" to define the block as text line.

By: Michael Frey
Date: 2014-07-09
Time: 14:28

Re: Option to allow mergeblock without closing slash

block=/ does not work but block=_ does. I will just need to make sure these are on individual lines. Thanks
By: Skrol29
Date: 2014-07-09
Time: 14:29

Re: Option to allow mergeblock without closing slash

> block=/ does not work

Ok, I'll check this and fix the manual if it is not true.
By: Skrol29
Date: 2014-07-10
Time: 12:33

Re: Option to allow mergeblock without closing slash

"block=/" works only if the tag is ending with "/".
The documentation is updated now.