aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edoc/src/edoc_macros.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2013-02-19 14:21:28 +0100
committerHans Bolinder <[email protected]>2013-02-19 14:31:52 +0100
commitd36e25df20fe0bf7490bae57de17fc882b10a25c (patch)
tree4a65c850b48de2e5b7d5406a616d2b22be941699 /lib/edoc/src/edoc_macros.erl
parente6613acf5a29c882d4673c6a8371e03523f9590c (diff)
downloadotp-d36e25df20fe0bf7490bae57de17fc882b10a25c.tar.gz
otp-d36e25df20fe0bf7490bae57de17fc882b10a25c.tar.bz2
otp-d36e25df20fe0bf7490bae57de17fc882b10a25c.zip
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.