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

Bug in number #2

Open
higimo opened this issue May 4, 2017 · 4 comments
Open

Bug in number #2

higimo opened this issue May 4, 2017 · 4 comments
Assignees

Comments

@higimo
Copy link

higimo commented May 4, 2017

http://prntscr.com/f43rh8

Light typograf must ignore the html-code

Example for test:

<div class="margin: 0 auto;">
  0 rub.
</div>
@Dok11
Copy link
Owner

Dok11 commented May 4, 2017

image

P.S. Проще в доку написать что бы light использовался только для не-html :)
Вообще он задумывался для строк, которые в админке input type="text", что бы визивиг не городить.

@Dok11 Dok11 self-assigned this May 4, 2017
@higimo
Copy link
Author

higimo commented May 4, 2017

А я думал, что ему можно всё скормить. Видимо, придётся хитрее типографить=(

@Dok11
Copy link
Owner

Dok11 commented May 4, 2017

Да, с лайтовым так. В данный модуль я его воткнул прям вообще на крайний случай, если ни artlebedev типограф, ни с typograf.ru недоступны.
Изначально это был просто один маленький класс в als.helper прошлого проекта.

@Dok11
Copy link
Owner

Dok11 commented May 12, 2017

Если нужно html типографить, то вот норм вариант: https://packagist.org/packages/kix/mdash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants