diff options
author | Micael Karlberg <[email protected]> | 2011-04-01 12:07:23 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2011-04-01 12:07:23 +0200 |
commit | 2b46b0e42fe95d99619ffa343537c8468e27295c (patch) | |
tree | 9f01a4f4a6ad597299aa5a74e5e50a58e9d5812b /lib/edoc/src/edoc_wiki.erl | |
parent | 537f010d6fe871d55c3becb02fe6ebb73dc2d55a (diff) | |
parent | 49737813349f164b35737eb3cd59491930128f58 (diff) | |
download | otp-2b46b0e42fe95d99619ffa343537c8468e27295c.tar.gz otp-2b46b0e42fe95d99619ffa343537c8468e27295c.tar.bz2 otp-2b46b0e42fe95d99619ffa343537c8468e27295c.zip |
Merge branch 'bmk/snmp/manager/deprecate_old_api/OTP-9174' into bmk/snmp/snmp420_integration
Conflicts:
lib/snmp/doc/src/notes.xml
lib/snmp/src/app/snmp.appup.src
Diffstat (limited to 'lib/edoc/src/edoc_wiki.erl')
-rw-r--r-- | lib/edoc/src/edoc_wiki.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/edoc/src/edoc_wiki.erl b/lib/edoc/src/edoc_wiki.erl index b36aaae6ce..9a31bc9a82 100644 --- a/lib/edoc/src/edoc_wiki.erl +++ b/lib/edoc/src/edoc_wiki.erl @@ -296,6 +296,8 @@ push_uri(Us, Ss, As) -> strip_empty_lines(Cs) -> strip_empty_lines(Cs, 0). +strip_empty_lines([], N) -> + {[], N}; % reached the end of input strip_empty_lines(Cs, N) -> {Cs1, Cs2} = edoc_lib:split_at(Cs, $\n), case edoc_lib:is_space(Cs1) of |