The web in a box - a next generation web framework for the Perl programming language

IRC log for #mojo, 2015-05-17

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:40 disputin joined #mojo
00:49 howitdo joined #mojo
00:51 disputin joined #mojo
00:56 nf joined #mojo
01:25 mattastrophe joined #mojo
01:56 klapperl joined #mojo
01:58 nf joined #mojo
02:02 noganex joined #mojo
02:59 nf joined #mojo
02:59 noganex_ joined #mojo
03:22 basic6 joined #mojo
04:00 nf joined #mojo
04:02 mattastrophe joined #mojo
05:00 nf joined #mojo
05:13 kaare joined #mojo
06:01 nf joined #mojo
06:55 ToApolytoXaos joined #mojo
06:57 Oleg joined #mojo
07:02 nf joined #mojo
07:39 trone joined #mojo
07:57 sh4 joined #mojo
08:03 nf joined #mojo
08:10 bjakubski joined #mojo
08:12 dotan joined #mojo
08:35 berov joined #mojo
09:04 nf joined #mojo
09:16 Vandal31341 joined #mojo
09:23 dod joined #mojo
09:29 dod joined #mojo
09:37 amon joined #mojo
09:52 kyshtynbai joined #mojo
10:04 nf joined #mojo
11:05 nf joined #mojo
11:40 Oleg joined #mojo
12:06 nf joined #mojo
12:31 mattastrophe joined #mojo
13:01 mattastrophe joined #mojo
13:07 nf joined #mojo
13:50 ajr_ joined #mojo
13:51 gryphon joined #mojo
13:54 ajr_ joined #mojo
13:59 asarch joined #mojo
14:07 nf joined #mojo
14:22 zivester joined #mojo
15:08 nf joined #mojo
15:19 polettix joined #mojo
15:20 Gedge_ joined #mojo
15:35 lluad joined #mojo
15:44 Grinnz_ joined #mojo
15:55 Grinnz joined #mojo
16:09 nf joined #mojo
16:13 kaare joined #mojo
16:52 disputin joined #mojo
17:03 dod joined #mojo
17:10 nf joined #mojo
17:14 kyshtynbai Guys, is there a way to contril %== behavior? I'd like it to output "as is" only specific HTML tags, and "trim" all the other.
17:55 polettix joined #mojo
17:56 absolut_todd joined #mojo
18:10 nf joined #mojo
18:11 absolut_todd joined #mojo
18:24 preaction make a helper and then call it from %== to escape the tags you want
18:25 preaction but you're gone so you didn't see that
18:37 punter joined #mojo
19:11 nf joined #mojo
20:12 nf joined #mojo
20:30 good_news_everyon joined #mojo
20:30 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vTLWw
20:30 good_news_everyon mojo/master 8f91325 Sebastian Riedel: more consistent Changes entries
20:30 good_news_everyon left #mojo
20:59 kyshtynbai joined #mojo
21:03 noganex joined #mojo
21:13 nf joined #mojo
21:48 Zoffix joined #mojo
21:55 Zoffix joined #mojo
21:58 Zoffix Hey, is there any issues with writing <%= form_for '/foo' => begin()  %> ? I have that in this template: http://bit.ly/1bYKvlv  and I'm getting this error: http://i.imgur.com/f3PjI3D.png  (unmatched bracket), but I don't think the last change I made to the template had anything to do with brackets :/
21:59 Zoffix Aye, if I change that to %= form_for '/foo' => begin  then it works
22:00 Zoffix Is there any way to make it work on as a multiline piece of code? In the template it's over 80 chars long, so I'd like to wrap it
22:04 marcus back home now.
22:05 Zoffix Oh, it's not a sub
22:09 Zoffix Sorted it. Should be <% form_for '/foo' => begin %>, but it won't work if the closing '%>' is on a line by itself; should be after 'begin'
22:13 nf joined #mojo
22:23 Zoffix joined #mojo
22:23 Zoffix Actually, that didn't sort it because even though it compiles now, the actual form is missing from the template :(
22:24 pink_mist you'll want <%=
22:26 Zoffix pink_mist++ thanks, that works, but why? http://mojolicio.us/perldoc/Mojolicious/Guides/Rendering#Embedded-Perl says this is <%= Perl expression, replaced with XML escaped result %>
22:26 Zoffix And obviously, the form isn't escaped :/
22:27 pink_mist because form_for returns a Mojo::ByteStream
22:27 Zoffix Ah
22:28 Zoffix Thanks. pink_mist++
22:42 ivan_ joined #mojo
23:13 mattastrophe joined #mojo
23:14 nf joined #mojo
23:23 hshong joined #mojo
23:28 davido__ joined #mojo

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary