Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: ivkosh/rdbl
base: f126cd1ef4
...
head fork: ivkosh/rdbl
compare: 4681f28218
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 5 additions and 2 deletions.
  1. +5 −2 src/rdbl.erl
View
7 src/rdbl.erl
@@ -183,8 +183,9 @@ simplify_page(Body0, Ctx, DefaultContentType) ->
[
{<<"title">>, [], TitleStr},
{<<"meta">>, [{<<"http-equiv">>, <<"content-type">>}, {<<"content">>, ContentType}], []},
- {<<"meta">>, [{<<"name">>, <<"viewport">>}, {<<"content">>, <<"width=480">>}], []},
- {<<"style">>, [{<<"type">>, <<"text/css">>}], [<<"h1 { display: block; width: 100%; border-bottom: 1px solid #333; font-size: 1.2em; }">>]}
+% {<<"meta">>, [{<<"name">>, <<"viewport">>}, {<<"content">>, <<"width=480">>}], []},
+ {<<"meta">>, [{<<"name">>, <<"viewport">>}, {<<"content">>, <<"width=320, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">>}], []},
+ {<<"style">>, [{<<"type">>, <<"text/css">>}], [<<"h1 { display: block; width: 100%; border-bottom: 1px solid #333; font-size: 1.2em; }">>],[<<"body {font-family:Helvetica,Arial,Sans-Serif;font-size:16px;margin:0px auto 0px auto;width:95%;word-wrap:break-word;}">>]}
]
},
{
@@ -600,3 +601,5 @@ add_proto_if_none(U="https://"++_) -> U;
add_proto_if_none(U) -> "http://"++U.
%%%% TODO: добавить сюда юнит-тесты (см как сделано в mochiweb)
+
+%%TMP

No commit comments for this range

Something went wrong with that request. Please try again.