mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 12:15:37 +08:00
[website] Do not absorb spaces in markdown comments
This commit is contained in:
@@ -100,7 +100,7 @@ var APIDoc = React.createClass({
|
||||
.replace(/\*\/$/, '')
|
||||
.split('\n')
|
||||
.map(function(line) {
|
||||
return line.trim().replace(/^\* */, '');
|
||||
return line.trim().replace(/^\* ?/, '');
|
||||
})
|
||||
.join('\n');
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user