aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edoc/src/edoc_macros.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2013-02-20 09:27:40 +0100
committerHans Bolinder <[email protected]>2013-02-20 09:27:40 +0100
commit7b8c2514f765d0769902ec828b7aedd075210ca9 (patch)
tree9bb10186e23fdb8ff988d162ac5bd31ab3baebe6 /lib/edoc/src/edoc_macros.erl
parentebc66af659af6f33847e1603c5f2257d5379eaf4 (diff)
parentd36e25df20fe0bf7490bae57de17fc882b10a25c (diff)
downloadotp-7b8c2514f765d0769902ec828b7aedd075210ca9.tar.gz
otp-7b8c2514f765d0769902ec828b7aedd075210ca9.tar.bz2
otp-7b8c2514f765d0769902ec828b7aedd075210ca9.zip
Merge branch 'hb/stdlib/unicode_corrections/OTP-10820'
* hb/stdlib/unicode_corrections/OTP-10820: Use ~ts for filenames
Diffstat (limited to 'lib/edoc/src/edoc_macros.erl')
-rw-r--r--lib/edoc/src/edoc_macros.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/edoc/src/edoc_macros.erl b/lib/edoc/src/edoc_macros.erl
index 08686c4fb5..8efbfd00c7 100644
--- a/lib/edoc/src/edoc_macros.erl
+++ b/lib/edoc/src/edoc_macros.erl
@@ -88,7 +88,7 @@ link_macro(S, Line, Env) ->
true -> " target=\"_top\""; % note the initial space
false -> ""
end,
- lists:flatten(io_lib:fwrite("<a href=\"~s\"~s>~ts</a>",
+ lists:flatten(io_lib:fwrite("<a href=\"~ts\"~ts>~ts</a>",
[URI, Target, Txt])).
section_macro(S, _Line, _Env) ->
@@ -102,7 +102,7 @@ type_macro(S, Line, Env) ->
Def = edoc_parser:parse_typedef(S1, Line),
{#t_typedef{type = T}, _} = Def,
Txt = edoc_layout:type(edoc_data:type(T, Env)),
- lists:flatten(io_lib:fwrite("<code>~s</code>", [Txt])).
+ lists:flatten(io_lib:fwrite("<code>~ts</code>", [Txt])).
%% Expand inline macros in tag content.