Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[textile] bq(class). copies style inside of own
In textpattern 4.0.6 (full diagnostoc) in article i enter this:
bq(#xxx). text
and get this:
<blockquote id="xxx">
<p>text</p>
</blockquote>
—-
Enter this:
bq(xxx). text
and get this:
<blockquote class="xxx">
<p class="xxx">text</p>
</blockquote>
At http://www.textism.com/tools/textile/index.php it’s working not alike. I except that class\id should be applied only to blockquote
tag, not to nested p
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Offline
Re: [textile] bq(class). copies style inside of own
I thought Textism could be used as example of right work of textile :) Any way, don’t you think that current example converting is wrong?
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Re: [textile] bq(class). copies style inside of own
Depends on your definition of “wrong”. Anyway, it is converted this way on purpose. Is it doing any harm?
Offline
Re: [textile] bq(class). copies style inside of own
No any harm, but what for copying class to nested p
?
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Re: [textile] bq(class). copies style inside of own
Honestly, the only thing I know about this is that it was introduced in r1842 on Sep 25, 2006 by zem. Maybe this happened as a by-product of this larger change set, and stayed unquestioned until now.
Offline