• هاست سان
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

Editor inserting raw bb-code does not trim trailing <br> tags inside <p>

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
Suppose you have; the text;
Code:

کد:
1

3
Which has the html;
HTML:

کد:
<p>1</p>
<p><br></p>
<p>3</p>

Then on line 2 you insert a spoiler/code/ispoiler/icode/<some raw bb-code here>, then the editor will have this html;
HTML:

کد:
<p>1</p>
<p>[ code ][ /code ]<br></p>
<p>3</p>

Note; the invisible <br> is still there at the end of line, which results in weird editor behaviour essentially if you have a lot of these added.

The problem looks to be somewhere inside...

Read more
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

موضوعات مشابه

عقب
بالا